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

index e897090c..f59ac7f1 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -34,7 +34,7 @@ export class Server { await this.setupSchema(); await Config.init(); console.log("[DB] connected"); - this.server.listen(this.port); + if (!this.server.listening) this.server.listen(this.port); console.log(`[Gateway] online on 0.0.0.0:${this.port}`); }