From 245127f65129455c7ec3d3860150c42160cc0e8d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 10 Aug 2022 02:53:29 -0600 Subject: Add basic developer panel functionality - doesn't work yet > > > Co-authored-by: TheArcaneBrony --- assets/client_test/developers.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'assets/client_test') diff --git a/assets/client_test/developers.html b/assets/client_test/developers.html index 85bbba05..fbe0193c 100644 --- a/assets/client_test/developers.html +++ b/assets/client_test/developers.html @@ -7,7 +7,7 @@ - Developer Portal | Fosscord + Discord Test Client Developer Portal @@ -29,15 +29,15 @@ 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( + localStorage.setItem("gatewayURL", window.GLOBAL_ENV.GATEWAY_ENDPOINT); + localStorage.setItem( "DeveloperOptionsStore", `{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}` ); - - - + + + \ No newline at end of file -- cgit 1.4.1