Skip to content

Commit

Permalink
Change security in multiplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 23, 2024
1 parent 461171f commit 2ee61c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiplayer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const io = socketIO(server, {
origin: [process.env.WEBAPP_ENDPOINT, "http://localhost:3000"],
//origin: "*", //this should be changed to improve security
methods: ["GET", "POST"],
//allowedHeaders: "*" //this should be changed to improve security
allowedHeaders: "*" //this should be changed to improve security
}
});

Expand Down

0 comments on commit 2ee61c4

Please sign in to comment.