summary refs log tree commit diff
path: root/src/start.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-02 17:11:18 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-02 17:11:18 +0200
commit4c8379c874da824e0a58c0400b53e5643671cfe5 (patch)
treee186e55760ba31ef16501226d7b8a82605e1555c /src/start.ts
parentUpdate README.md (diff)
downloadserver-4c8379c874da824e0a58c0400b53e5643671cfe5.tar.xz
Change default port:
Client = 3000
API = 3001
Gateway = 3002
Diffstat (limited to '')
-rw-r--r--src/start.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/start.ts b/src/start.ts

index 11e15941..8d5c33ce 100644 --- a/src/start.ts +++ b/src/start.ts
@@ -23,7 +23,7 @@ if (cluster.isMaster && process.env.production == "true") { }); } else { var port = Number(process.env.PORT); - if (isNaN(port)) port = 1000; + if (isNaN(port)) port = 3001; const server = new FosscordServer({ port }); server.start().catch(console.error);