diff options
Diffstat (limited to 'webAO/master.ts')
| -rw-r--r-- | webAO/master.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/webAO/master.ts b/webAO/master.ts index 4c2175c..d7f0e21 100644 --- a/webAO/master.ts +++ b/webAO/master.ts @@ -59,8 +59,6 @@ fpPromise .then(async (result) => { hdid = result.visitorId; - check_https(); - getServerlist().then((serverlist) => { processServerlist(serverlist); }); @@ -75,13 +73,6 @@ fpPromise setTimeout(() => checkOnline(-1, '127.0.0.1:50001'), 0); }); -export function check_https() { - if (protocol === 'https:') { - document.getElementById('https_error').style.display = ''; - setTimeout(() => window.location.replace(`http://${host}/`), 5000); - } -} - export function setServ(ID: number) { selectedServer = ID; |
