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

🎨 change default port to 2000

This commit is contained in:
Flam3rboy 2021-04-19 22:00:23 +02:00
parent 85ac6b4c63
commit 0e77160466

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 = 8080;
if (isNaN(port)) port = 2000;
export class Server {
public ws: WebSocketServer;