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