diff --git a/dashboard.html b/dashboard.html index 86b0dbb..ed70695 100644 --- a/dashboard.html +++ b/dashboard.html @@ -259,7 +259,7 @@ //Load the channels var xhr = new XMLHttpRequest(); - xhr.open('get', `http://selmerbot.com/getChannels/`, true); + xhr.open('get', `http://www.selmerbot.com/getChannels/`, true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('serverNumber', serverSettings.Id); xhr.onloadend = (e) => { @@ -315,10 +315,7 @@ } xhr.send(); -//Get serverId - // xhr2 = new XMLHttpRequest(); - // xhr.open('get', 'http://localhost:53134/getCal', true); - // xhr.setRequestHeader('userId', serverSettings) + } @@ -388,7 +385,7 @@ //Send the data to the server var xhr = new XMLHttpRequest(); - xhr.open('post', 'http://selmerbot.com/sendData/', true); + xhr.open('post', 'http://www.selmerbot.com/sendData/', true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('serverSettings', JSON.stringify(serverSettings)); @@ -450,7 +447,6 @@
@@ -505,11 +501,6 @@ - -