diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-10-26 16:36:54 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-10-26 16:36:54 +1100 |
commit | 9d3b5af3e3d6ad1f02e06534ecc9f3c77207267c (patch) | |
tree | ffb40a4500f88a2b2b6c93fe6ad937798b2b5436 /assets/client_test/index.html | |
parent | handle a specific case with rtl character (diff) | |
download | server-9d3b5af3e3d6ad1f02e06534ecc9f3c77207267c.tar.xz |
'localStorage is not defined'?
Diffstat (limited to 'assets/client_test/index.html')
-rw-r--r-- | assets/client_test/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/client_test/index.html b/assets/client_test/index.html index da6e2854..f3dbd514 100644 --- a/assets/client_test/index.html +++ b/assets/client_test/index.html @@ -41,8 +41,8 @@ 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?:/, ""); - localStorage.setItem("gatewayURL", window.GLOBAL_ENV.GATEWAY_ENDPOINT); - localStorage.setItem( + 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}` ); |