diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:38:33 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 17:44:30 +1100 |
commit | e7a6be0639cfbe94ce1afcfb9fef8c58147d69a2 (patch) | |
tree | fb8a2ed2f6758dde4c797d3c357d221fd062ce8e /src/bundle/Server.ts | |
parent | Remove Slowcord demo user restrictions (diff) | |
download | server-e7a6be0639cfbe94ce1afcfb9fef8c58147d69a2.tar.xz |
Premium tier 0 SKU from staging
Diffstat (limited to 'src/bundle/Server.ts')
-rw-r--r-- | src/bundle/Server.ts | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/bundle/Server.ts b/src/bundle/Server.ts index dbd57abf..9ba715d1 100644 --- a/src/bundle/Server.ts +++ b/src/bundle/Server.ts @@ -31,35 +31,6 @@ async function main() { await initDatabase(); await Config.init(); await BannedWords.init(); - // // only set endpointPublic, if not already set - // await Config.set({ - // cdn: { - // endpointClient: "${location.host}", - // endpointPrivate: `http://localhost:${port}`, - // }, - // gateway: { - // endpointClient: - // '${location.protocol === "https:" ? "wss://" : "ws://"}${location.host}', - // endpointPrivate: `ws://localhost:${port}`, - // ...(!Config.get().gateway.endpointPublic && { - // endpointPublic: `ws://localhost:${port}`, - // }), - // }, - // regions: { - // default: "fosscord", - // useDefaultAsOptimal: true, - // available: [ - // { - // id: "fosscord", - // name: "Fosscord", - // endpoint: "slowcord.maddy.k.vu:3004", - // vip: false, - // custom: false, - // deprecated: false, - // }, - // ], - // }, - // } as any); //Sentry if (Config.get().sentry.enabled) { |