summary refs log tree commit diff
path: root/api/client_test
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-18 11:56:30 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-18 11:56:30 +0200
commit4c3f4b1093b1cc4429f7f22069e565c372bab32b (patch)
treee78c50a163e6e4ecc00bbb2b54a088a15f0a42bc /api/client_test
parent:sparkles: add default_auto_archive_duration to channel (diff)
downloadserver-4c3f4b1093b1cc4429f7f22069e565c372bab32b.tar.xz
:loud_sound: opcode logger
Diffstat (limited to 'api/client_test')
-rw-r--r--api/client_test/index.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/api/client_test/index.html b/api/client_test/index.html
index 9b17388b..6ca8647e 100644
--- a/api/client_test/index.html
+++ b/api/client_test/index.html
@@ -29,17 +29,20 @@
 				NETWORKING_ENDPOINT: "//router.discordapp.net",
 				RTC_LATENCY_ENDPOINT: "//latency.discord.media/rtc",
 				PROJECT_ENV: "production",
-				REMOTE_AUTH_ENDPOINT: "//remote-auth-gateway.discord.gg",
+				REMOTE_AUTH_ENDPOINT: "//localhost:3020",
 				SENTRY_TAGS: { buildId: "75e36d9", buildType: "normal" },
 				MIGRATION_SOURCE_ORIGIN: "https://discordapp.com",
 				MIGRATION_DESTINATION_ORIGIN: "https://discord.com",
 				HTML_TIMESTAMP: Date.now(),
 				ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0"
 			};
+			// TODO: remote auth
+			// window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT = window.GLOBAL_ENV.GATEWAY_ENDPOINT.replace(/wss?:/, "");
 			localStorage.removeItem("gatewayURL");
+
 			localStorage.setItem(
 				"DeveloperOptionsStore",
-				`{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":false,"logAnalyticsEvents":false,"sourceMapsEnabled":false,"axeEnabled":false}`
+				`{"trace":false,"canary":false,"logGatewayEvents":true,"logOverlayEvents":true,"logAnalyticsEvents":true,"sourceMapsEnabled":false,"axeEnabled":false}`
 			);
 		</script>
 		<script src="/assets/042023d8ee73c0c3fd74.js"></script>