1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

Change default port:

Client = 3000
API = 3001
Gateway = 3002
This commit is contained in:
Flam3rboy 2021-05-02 17:11:21 +02:00
parent e35d972f41
commit 13cbf7bd88

View File

@ -7,7 +7,7 @@ import { Connection } from "./events/Connection";
import Config from "./util/Config";
var port = Number(process.env.PORT);
if (isNaN(port)) port = 2000;
if (isNaN(port)) port = 3002;
export class Server {
public ws: WebSocketServer;