Skip to content

Commit

Permalink
Merge branch 'develop-hugo' into develop-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
uo288543 committed Apr 23, 2024
2 parents 3718632 + 7a69a8f commit b5759bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multiplayer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const app = express();
const server = http.createServer(app);
const io = socketIO(server, {
cors: { //permit connections from webapp
origin: [process.env.WEBAPP_ENDPOINT, "http://localhost:3000"],
//origin: "*", //this should be changed to improve security
//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
}
Expand Down

0 comments on commit b5759bc

Please sign in to comment.