Change default port:
Client = 3000 API = 3001 Gateway = 3002
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import { Connection } from "./events/Connection";
|
|||||||
import Config from "./util/Config";
|
import Config from "./util/Config";
|
||||||
|
|
||||||
var port = Number(process.env.PORT);
|
var port = Number(process.env.PORT);
|
||||||
if (isNaN(port)) port = 2000;
|
if (isNaN(port)) port = 3002;
|
||||||
|
|
||||||
export class Server {
|
export class Server {
|
||||||
public ws: WebSocketServer;
|
public ws: WebSocketServer;
|
||||||
|
|||||||
Reference in New Issue
Block a user