summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-22 22:30:36 -0500
committerDiego Magdaleno <diegomagdaleno@protonmail.com>2021-05-22 22:30:36 -0500
commit7d795903ef9264d4febb89c62bf4abb269ab8851 (patch)
treeba63b45ac0fd6258382045c6bc45d1435739fb66 /src/Server.ts
parentMerge branch 'master' of github.com:DiegoMagdaleno/fosscord-gateway (diff)
downloadserver-7d795903ef9264d4febb89c62bf4abb269ab8851.tar.xz
Config: Implement new configuration options
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 46ff56a3..46130b29 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -4,7 +4,6 @@ dotenv.config(); import { db } from "@fosscord/server-util"; import { Server as WebSocketServer } from "ws"; import { Connection } from "./events/Connection"; -import Config from "./util/Config"; // TODO: only listen/start the server if everything got initalized // https://www.npmjs.com/package/ws use "External HTTP/S server" and listen manually at the end of listen() @@ -38,7 +37,6 @@ export class Server { await (db as Promise<Connection>); await this.setupSchema(); console.log("[DB] connected"); - await Config.init(); console.log(`[Gateway] online on 0.0.0.0:${port}`); } }