From 088d4d6f3a8ff051b2e0f9b0a9e93b5e44c850b4 Mon Sep 17 00:00:00 2001 From: Simone Ferretti Date: Mon, 19 Aug 2024 15:36:23 +0200 Subject: [PATCH] fix: change server default port --- server/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.js b/server/main.js index 0034c69..64b330c 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(443); // 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