Domain change removed the www

This commit is contained in:
ION606
2022-12-24 09:24:24 -08:00
parent 55e7c73a31
commit 3e5202f5b2
11 changed files with 48 additions and 39 deletions
+2 -2
View File
@@ -51,7 +51,7 @@
function getSessionData() {
return new Promise((resolve, reject) => {
var xhrsess = new XMLHttpRequest();
xhrsess.open('post', 'https://www.selmerbot.com/getSessionInfo/', true);
xhrsess.open('post', 'https://selmerbot.com/getSessionInfo/', true);
xhrsess.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhrsess.setRequestHeader('session', window.localStorage.getItem('sessionId'));
@@ -118,7 +118,7 @@
//Send the data to the server
var xhr = new XMLHttpRequest();
xhr.open('post', 'https://www.selmerbot.com/newCalEvent/', true);
xhr.open('post', 'https://selmerbot.com/newCalEvent/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader(`newCalEvent`, JSON.stringify(obj));