From c44dac2cfd33e905901212ce5a68cd44dbcf2abf Mon Sep 17 00:00:00 2001 From: JianMiau Date: Mon, 11 Sep 2023 15:37:04 +0800 Subject: [PATCH] [add] port --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9dc13f2..3980fe4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,7 +16,7 @@ dayjs.locale("zh-tw"); dotenv.config(); // Create the Server -const port: number = +process.env.PORT || 3000; +const port: number = +process.env.PORT || 3003; export const server: WsServer = new WsServer(serviceProto, { port: port, // Remove this to use binary mode (remove from the client too)