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

index 46130b29..2f72cc00 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -1,7 +1,7 @@ import "missing-native-js-functions"; import dotenv from "dotenv"; dotenv.config(); -import { db } from "@fosscord/server-util"; +import { Config, db } from "@fosscord/server-util"; import { Server as WebSocketServer } from "ws"; import { Connection } from "./events/Connection"; @@ -36,6 +36,7 @@ export class Server { // @ts-ignore await (db as Promise<Connection>); await this.setupSchema(); + await Config.init(); console.log("[DB] connected"); console.log(`[Gateway] online on 0.0.0.0:${port}`); }