Skip to content

Commit

Permalink
fix: change server default port
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex-82 committed Aug 19, 2024
1 parent 2d845b5 commit 088d4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 088d4d6

Please sign in to comment.