summary refs log tree commit diff
path: root/assets/client_test/index.html
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-26 16:36:54 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-26 16:36:54 +1100
commit9d3b5af3e3d6ad1f02e06534ecc9f3c77207267c (patch)
treeffb40a4500f88a2b2b6c93fe6ad937798b2b5436 /assets/client_test/index.html
parenthandle a specific case with rtl character (diff)
downloadserver-9d3b5af3e3d6ad1f02e06534ecc9f3c77207267c.tar.xz
'localStorage is not defined'?
Diffstat (limited to 'assets/client_test/index.html')
-rw-r--r--assets/client_test/index.html4
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}`
 		);