I messed up the domain name

This commit is contained in:
ION606
2022-07-31 14:24:02 +03:00
parent c49999071f
commit 10d16b8f6c
4 changed files with 10 additions and 19 deletions
+2 -2
View File
@@ -92,10 +92,10 @@
imagem.onclick = function() {
console.log('LOADING.....');
var xhr = new XMLHttpRequest();
xhr.open('post', 'http://selmerbot.com/getServer/', true);
xhr.open('post', 'http://www.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 = 'http://selmerbot.com//dashboard.html'; }
xhr.onloadend = (e) => { window.localStorage.setItem('serverInfo', (xhr.response)); window.location = 'http://www.selmerbot.com//dashboard.html'; }
xhr.send();
}
} else {