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.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 302aea81..df5ec905 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -1,3 +1,6 @@ +import "missing-native-js-functions"; +import dotenv from "dotenv"; +dotenv.config(); import { db } from "fosscord-server-util"; import { Server as WebSocketServer } from "ws"; import { Connection } from "./events/Connection"; @@ -19,7 +22,8 @@ export class Server { // @ts-ignore await (db as Promise<Connection>); await this.setupSchema(); + console.log("[DB] connected"); await Config.init(); - console.log("listening"); + console.log("[Gateway] online"); } }