summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-23 20:48:51 +0200
committerGitHub <noreply@github.com>2021-05-23 20:48:51 +0200
commitf756b20a2b08556b54dbf9667e910569203b07d1 (patch)
tree0a5524e67f305aca11ef507139d80b43f37cf8da /src/Server.ts
parent:arrow_up: update dependency (diff)
parentFix: No more typecasting required (diff)
downloadserver-f756b20a2b08556b54dbf9667e910569203b07d1.tar.xz
Merge pull request #69 from DiegoMagdaleno/master
Config updates and StrictNullChecks
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}`); } }