Fixed a few typos

This commit is contained in:
ION606
2022-07-27 16:17:15 +03:00
parent bbf7dd1814
commit e51cb6cae1
+2 -2
View File
@@ -248,7 +248,7 @@
//Load the channels serverSettings.Id //Load the channels serverSettings.Id
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('get', 'http://localhost:53134/getChannels/', true); xhr.open('get', 'https://selmer-bot-website.herokuapp.com/getChannels/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader('serverNumber', serverSettings.Id); xhr.setRequestHeader('serverNumber', serverSettings.Id);
xhr.onloadend = (e) => { xhr.onloadend = (e) => {
@@ -373,7 +373,7 @@
//Send the data to the server //Send the data to the server
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('post', 'http://localhost:53134/sendData/', true); xhr.open('post', 'https://selmer-bot-website.herokuapp.com/sendData/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader('serverSettings', JSON.stringify(serverSettings)); xhr.setRequestHeader('serverSettings', JSON.stringify(serverSettings));