summary refs log tree commit diff
path: root/bundle/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 15:13:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 15:13:16 +0200
commit4a34792be6a8b53d05d4359fc75064449db75eef (patch)
tree66091b07cac6d0485f2dbb4784dcad7bada34425 /bundle/src/Server.ts
parentImplement GIFs (diff)
parentMerge pull request #435 from TheArcaneBrony/change-enums-to-number (diff)
downloadserver-4a34792be6a8b53d05d4359fc75064449db75eef.tar.xz
Merge branch 'master' into pr/Thesourtimes/430
Diffstat (limited to '')
-rw-r--r--bundle/src/Server.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts

index 662b9008..d541735f 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts
@@ -4,7 +4,7 @@ process.on("uncaughtException", console.error); import http from "http"; import * as Api from "@fosscord/api"; import * as Gateway from "@fosscord/gateway"; -import { CDNServer } from "@fosscord/cdn/"; +import { CDNServer } from "@fosscord/cdn"; import express from "express"; import { green, bold } from "nanocolors"; import { Config, initDatabase } from "@fosscord/util"; @@ -30,9 +30,6 @@ async function main() { cdn: { endpointClient: "${location.host}", endpointPrivate: `http://localhost:${port}`, - ...(!Config.get().cdn.endpointPublic && { - endpointPublic: `http://localhost:${port}`, - }), }, gateway: { endpointClient: