diff --git a/calEvent.html b/calEvent.html
index 395462c..26c7475 100644
--- a/calEvent.html
+++ b/calEvent.html
@@ -222,7 +222,7 @@
if (inp.inp == 'cal') {
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'));
@@ -236,7 +236,7 @@
//Send the data to the server
var xhr = new XMLHttpRequest();
- xhr.open('post', 'http://www.selmerbot.com/sendData/', true);
+ xhr.open('post', 'https://www.selmerbot.com/sendData/', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
xhr.setRequestHeader(`reminders`, true);
xhr.setRequestHeader(`delObjKeys`, delObjKeys);
@@ -255,7 +255,7 @@
async function createCalEvent(day) {
// event.preventDefault();
- await new Promise((res, rej) => { res(window.open('http://www.selmerbot.com/newCalEvent.html','newCalPopWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
+ await new Promise((res, rej) => { res(window.open('https://www.selmerbot.com/newCalEvent.html','newCalPopWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
.then((w) => {
if (!w) { alert("Your browser has JavaScript Disabled!"); return w.close(); }
diff --git a/calendar.html b/calendar.html
index 12d5f71..4a3634a 100644
--- a/calendar.html
+++ b/calendar.html
@@ -277,7 +277,7 @@
async function openNewCalWindow(evjs, day) {
const ev = JSON.parse(evjs);
- await new Promise((res, rej) => { res(window.open('http://www.selmerbot.com/calEvent.html','popUpWindow','loaction=no,width=600,height=300,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
+ await new Promise((res, rej) => { res(window.open('https://www.selmerbot.com/calEvent.html','popUpWindow','loaction=no,width=600,height=300,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
.then((w) => {
if (!w) { w.close(); return alert("Your browser has JavaScript Disabled!"); }
@@ -292,7 +292,7 @@
async function createCalEvent(day) {
- await new Promise((res, rej) => { res(window.open('http://www.selmerbot.com/newCalEvent.html','popUpWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
+ await new Promise((res, rej) => { res(window.open('https://www.selmerbot.com/newCalEvent.html','popUpWindow','loaction=no,width=400,height=350,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes')); })
.then((w) => {
if (!w) { w.close(); return alert("Your browser has JavaScript Disabled!"); }
@@ -381,7 +381,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'));
@@ -414,7 +414,7 @@
const id = sessionInfo.userId;
//Check if the user has premium
var xhrverify = new XMLHttpRequest();
- xhrverify.open('post', 'http://www.selmerbot.com/verifypremium/', true);
+ xhrverify.open('post', 'https://www.selmerbot.com/verifypremium/', true);
xhrverify.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
//Use the guild Id as the userId
@@ -426,7 +426,7 @@
}
var xhr2 = new XMLHttpRequest();
- xhr2.open('get', 'http://www.selmerbot.com/getCal/', true);
+ xhr2.open('get', 'https://www.selmerbot.com/getCal/', true);
xhr2.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
//Use the guild Id as the userId
diff --git a/index.html b/index.html
index 9c4f309..5b29fd4 100644
--- a/index.html
+++ b/index.html
@@ -263,7 +263,7 @@