From 84febef6c03ea3c6fd5566c346601bec157662ff Mon Sep 17 00:00:00 2001 From: Simone Ferretti Date: Mon, 19 Aug 2024 15:40:06 +0200 Subject: [PATCH] fix: change server port --- server/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.js b/server/main.js index 0034c69..b8d274c 100644 --- a/server/main.js +++ b/server/main.js @@ -6,7 +6,7 @@ const app = express(); app.use("/", express.static(path.resolve(import.meta.dirname, "./client"))); -const expressServer = app.listen(80); // regular http server using node express which serves your webpage +const expressServer = app.listen(8080); // regular http server using node express which serves your webpage expressServer.on("upgrade", async function upgrade(request, socket, head) { //handling upgrade(http to websocekt) event