[add] port
This commit is contained in:
parent
6b42db9ecb
commit
c44dac2cfd
@ -16,7 +16,7 @@ dayjs.locale("zh-tw");
|
|||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
// Create the Server
|
// Create the Server
|
||||||
const port: number = +process.env.PORT || 3000;
|
const port: number = +process.env.PORT || 3003;
|
||||||
export const server: WsServer<ServiceType> = new WsServer(serviceProto, {
|
export const server: WsServer<ServiceType> = new WsServer(serviceProto, {
|
||||||
port: port,
|
port: port,
|
||||||
// Remove this to use binary mode (remove from the client too)
|
// Remove this to use binary mode (remove from the client too)
|
||||||
|
Loading…
Reference in New Issue
Block a user