summary refs log tree commit diff
path: root/assets/client_test
diff options
context:
space:
mode:
Diffstat (limited to 'assets/client_test')
-rw-r--r--assets/client_test/index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/assets/client_test/index.html b/assets/client_test/index.html
index c6833930..a2e40392 100644
--- a/assets/client_test/index.html
+++ b/assets/client_test/index.html
@@ -17,25 +17,25 @@
 			API_VERSION: 9,
 			GATEWAY_ENDPOINT: `${location.protocol === "https:" ? "wss://" : "ws://"}${location.host}`,
 			WEBAPP_ENDPOINT: "",
-			CDN_HOST: `${location.hostname}`,
+			CDN_HOST: `${location.host}`,
 			ASSET_ENDPOINT: "",
-			MEDIA_PROXY_ENDPOINT: "https://media.discordapp.net",
+			MEDIA_PROXY_ENDPOINT: `${location.host}/media`,
 			WIDGET_ENDPOINT: `//${location.host}/widget`,
-			INVITE_HOST: `${location.hostname}/invite`,
+			INVITE_HOST: `${location.host}/invite`,
 			GUILD_TEMPLATE_HOST: "${location.host}/template",
-			GIFT_CODE_HOST: "${location.hostname}/gift",
+			GIFT_CODE_HOST: `${location.host}/gift`,
 			RELEASE_CHANNEL: "canary",
 			MARKETING_ENDPOINT: "//discord.com",
 			BRAINTREE_KEY: "production_5st77rrc_49pp2rp4phym7387",
 			STRIPE_KEY: "pk_live_CUQtlpQUF0vufWpnpUmQvcdi",
 			NETWORKING_ENDPOINT: "//router.discordapp.net",
-			RTC_LATENCY_ENDPOINT: "//${location.hostname}/rtc",
+			RTC_LATENCY_ENDPOINT: `//${location.host}/rtc`,
 			ACTIVITY_APPLICATION_HOST: "discordsays.com",
 			PROJECT_ENV: "production",
 			REMOTE_AUTH_ENDPOINT: "//localhost:3020",
 			SENTRY_TAGS: { buildId: "d5b97e42230075cb9634c419c0cf4d2f8f9ada53", buildType: "normal" },
-			MIGRATION_SOURCE_ORIGIN: "https://${location.hostname}",
-			MIGRATION_DESTINATION_ORIGIN: "https://${location.hostname}",
+			MIGRATION_SOURCE_ORIGIN: `https://${location.host}`,
+			MIGRATION_DESTINATION_ORIGIN: `https://${location.host}`,
 			HTML_TIMESTAMP: Date.now(),
 			ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0"
 		};