summary refs log tree commit diff
path: root/bundle/src/Server.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:47:19 +0200
committerGitHub <noreply@github.com>2021-10-15 00:47:19 +0200
commit8ed111049fe5890ac83d4aa3029f029704146431 (patch)
treecd6f4a4d1419167655937526d8384cbc57210665 /bundle/src/Server.ts
parentMerge pull request #438 from Mr2u/dev (diff)
parent:art: exclude healthz/readyz from auth (diff)
downloadserver-8ed111049fe5890ac83d4aa3029f029704146431.tar.xz
Merge pull request #454 from hbjydev/status-probes
[API] Status Probes
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: