mirror of
https://github.com/ION606/selmer-bot-website.git
synced 2026-06-05 23:46:14 +00:00
Minor grammar fix, irrelevant
This commit is contained in:
+2
-2
@@ -58,8 +58,8 @@
|
|||||||
function getSessionData() {
|
function getSessionData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
var xhrsess = new XMLHttpRequest();
|
var xhrsess = new XMLHttpRequest();
|
||||||
// xhrsess.open('post', 'https://www.selmerbot.com/getSessionInfo/', true);
|
xhrsess.open('post', 'https://www.selmerbot.com/getSessionInfo/', true);
|
||||||
xhrsess.open('post', 'http://localhost:53134/getSessionInfo/', true);
|
// xhrsess.open('post', 'http://localhost:53134/getSessionInfo/', true);
|
||||||
xhrsess.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
|
xhrsess.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
|
||||||
xhrsess.setRequestHeader('session', window.localStorage.getItem('sessionId'));
|
xhrsess.setRequestHeader('session', window.localStorage.getItem('sessionId'));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user