Added the 'setup help' icons and changed the domain name

This commit is contained in:
ION606
2022-07-31 14:02:17 +03:00
parent e1c028789a
commit c49999071f
4 changed files with 39 additions and 22 deletions
+2 -2
View File
@@ -92,10 +92,10 @@
imagem.onclick = function() {
console.log('LOADING.....');
var xhr = new XMLHttpRequest();
xhr.open('post', 'https://selmer-bot-website.herokuapp.com/getServer/', true);
xhr.open('post', 'http://selmerbot.com/getServer/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader('serverNumber', guilds[i].id);
xhr.onloadend = (e) => { window.localStorage.setItem('serverInfo', (xhr.response)); window.location = 'https://selmer-bot-website.herokuapp.com/dashboard.html'; }
xhr.onloadend = (e) => { window.localStorage.setItem('serverInfo', (xhr.response)); window.location = 'http://selmerbot.com//dashboard.html'; }
xhr.send();
}
} else {