From aa602fcace337297b557ca4b856fa79f5ab29985 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 25 May 2021 01:11:16 +0200 Subject: npm i @fosscord/server-util@1.3.3 --- src/Server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); await this.setupSchema(); + await Config.init(); console.log("[DB] connected"); console.log(`[Gateway] online on 0.0.0.0:${port}`); } -- cgit 1.5.1