🐛 fix endpoints in test client
This commit is contained in:
parent
cfde9dd2d5
commit
c553a61065
@ -13,13 +13,13 @@
|
|||||||
window.GLOBAL_ENV = {
|
window.GLOBAL_ENV = {
|
||||||
API_ENDPOINT: "/api",
|
API_ENDPOINT: "/api",
|
||||||
API_VERSION: 9,
|
API_VERSION: 9,
|
||||||
GATEWAY_ENDPOINT: "ws://localhost:3002",
|
GATEWAY_ENDPOINT: `${location.protocol === "https:" ? "wss://" : "ws://"}${location.hostname}:3002`,
|
||||||
WEBAPP_ENDPOINT: "",
|
WEBAPP_ENDPOINT: "",
|
||||||
CDN_HOST: "//localhost:3003",
|
CDN_HOST: `//${location.hostname}:3002`,
|
||||||
ASSET_ENDPOINT: "",
|
ASSET_ENDPOINT: "",
|
||||||
MEDIA_PROXY_ENDPOINT: "https://media.discordapp.net",
|
MEDIA_PROXY_ENDPOINT: "https://media.discordapp.net",
|
||||||
WIDGET_ENDPOINT: "//localhost:3001/widget",
|
WIDGET_ENDPOINT: `//${location.host}/widget`,
|
||||||
INVITE_HOST: "discord.gg",
|
INVITE_HOST: `${location.hostname}`,
|
||||||
GUILD_TEMPLATE_HOST: "discord.new",
|
GUILD_TEMPLATE_HOST: "discord.new",
|
||||||
GIFT_CODE_HOST: "discord.gift",
|
GIFT_CODE_HOST: "discord.gift",
|
||||||
RELEASE_CHANNEL: "stable",
|
RELEASE_CHANNEL: "stable",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user