From 34482049c13b5e87f579837bae6c60dcb5cb686f Mon Sep 17 00:00:00 2001 From: giangdh142536 <146085468+giangdh142536@users.noreply.github.com> Date: Wed, 1 Nov 2023 16:31:48 +0700 Subject: [PATCH] Update index.ts --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index fa209b1..2b98c39 100644 --- a/index.ts +++ b/index.ts @@ -58,7 +58,7 @@ const app = express(); const http = require('http').Server(app); const io = require('socket.io')(http); -const port = process.env.PORT || 3000; +const port = process.env.PORT || 80; io.on('connection', (socket) => { console.log('user connected');