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-15 00:44:19 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:44:19 +0200
commit288eeab6bbb793473788dffa1cae68790ead6d0e (patch)
tree3b60a63f8a7c6317cb43fda1f7ab29993814b587 /bundle/src/Server.ts
parentfeat: implement a database check on the healthz and readyz probes, remove /-/... (diff)
parent:art: do not automatically create default guild (diff)
downloadserver-288eeab6bbb793473788dffa1cae68790ead6d0e.tar.xz
Merge branch 'master' into pr/hbjydev/454
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: