summary refs log tree commit diff
path: root/bundle/src/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/src/Server.ts')
-rw-r--r--bundle/src/Server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle/src/Server.ts b/bundle/src/Server.ts

index 9cef9ed1..df29266d 100644 --- a/bundle/src/Server.ts +++ b/bundle/src/Server.ts
@@ -7,7 +7,7 @@ import * as Gateway from "@fosscord/gateway"; import { CDNServer } from "@fosscord/cdn"; import express from "express"; import { green, bold, yellow } from "picocolors"; -import { Config, initDatabase } from "@fosscord/util"; +import { Config, initDatabase, BannedWords } from "@fosscord/util"; import * as Sentry from "@sentry/node"; import * as Tracing from "@sentry/tracing"; @@ -35,6 +35,7 @@ process.on('SIGTERM', () => { async function main() { await initDatabase(); await Config.init(); + await BannedWords.init(); // only set endpointPublic, if not already set await Config.set({ cdn: {