1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix cdn endpoint

This commit is contained in:
Flam3rboy 2021-08-09 16:16:38 +02:00
parent 8ff71df2bc
commit 4532b0c44f

View File

@ -15,7 +15,7 @@
API_VERSION: 9,
GATEWAY_ENDPOINT: `${location.protocol === "https:" ? "wss://" : "ws://"}${location.hostname}:3002`,
WEBAPP_ENDPOINT: "",
CDN_HOST: `//${location.hostname}:3002`,
CDN_HOST: `//${location.hostname}:3003`,
ASSET_ENDPOINT: "",
MEDIA_PROXY_ENDPOINT: "https://media.discordapp.net",
WIDGET_ENDPOINT: `//${location.host}/widget`,