Ignore this

This commit is contained in:
ION606
2022-09-14 18:35:45 -04:00
parent 8e420dee0b
commit 5367112f36
8 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -127,7 +127,7 @@
function getSessionData() {
return new Promise((resolve, reject) => {
var xhrsess = new XMLHttpRequest();
xhrsess.open('post', 'http://www.selmerbot.com/getSessionInfo/', true);
xhrsess.open('post', 'https://www.selmerbot.com/getSessionInfo/', true);
xhrsess.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhrsess.setRequestHeader('session', window.localStorage.getItem('sessionId'));
@@ -194,7 +194,7 @@
//Send the data to the server
var xhr = new XMLHttpRequest();
xhr.open('post', 'http://www.selmerbot.com/newCalEvent/', true);
xhr.open('post', 'https://www.selmerbot.com/newCalEvent/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader(`newCalEvent`, JSON.stringify(obj));