🎨 change default port to 2000
This commit is contained in:
parent
85ac6b4c63
commit
0e77160466
@ -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 = 8080;
|
if (isNaN(port)) port = 2000;
|
||||||
|
|
||||||
export class Server {
|
export class Server {
|
||||||
public ws: WebSocketServer;
|
public ws: WebSocketServer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user