From 61b9f824f44a52a89acd720efda71c9182639204 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:57:03 +1100 Subject: Added fast connect to index --- assets/client_test/index.html | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/assets/client_test/index.html b/assets/client_test/index.html index 1a41da72..7306db60 100644 --- a/assets/client_test/index.html +++ b/assets/client_test/index.html @@ -38,31 +38,16 @@ HTML_TIMESTAMP: Date.now(), ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0" }; - // GLOBAL_ENV.MEDIA_PROXY_ENDPOINT = location.protocol + "//" + GLOBAL_ENV.CDN_HOST; - // TODO: remote auth - // window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT = window.GLOBAL_ENV.GATEWAY_ENDPOINT.replace(/wss?:/, ""); window.localStorage.setItem("gatewayURL", window.GLOBAL_ENV.GATEWAY_ENDPOINT); window.localStorage.setItem( "DeveloperOptionsStore", `{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}` ); - - /* - // Not required because slowcord has its own login server - setInterval(() => { - var token = JSON.parse(localStorage.getItem("token")); - if (token) { - var logincss = document.querySelector('#logincss'), - canRemove = logincss ? logincss: ""; - if(canRemove !== "") { - document.querySelector("#logincss").remove(); - canRemove = ""; - } - } - }, 1000) - */ + + + -- cgit 1.4.1