diff options
Diffstat (limited to 'src/gateway/start.ts')
-rw-r--r-- | src/gateway/start.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/start.ts b/src/gateway/start.ts index b86c3eca..79448f91 100644 --- a/src/gateway/start.ts +++ b/src/gateway/start.ts @@ -24,7 +24,7 @@ import { Server } from "./Server"; import { config } from "dotenv"; config(); -var port = Number(process.env.PORT); +let port = Number(process.env.PORT); if (isNaN(port)) port = 3002; const server = new Server({ |