Skip to content

Commit

Permalink
Update CORS origin in socket.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 14, 2024
1 parent c203b0a commit ef8f648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const server = http.createServer(app);

const io = new Server(server, {
cors: {
origin: process.env.ORIGIN_URL || "*",
origin: "*",
methods: ["GET", "POST", "PUT", "DELETE"],
},
maxHttpBufferSize: 2e7,
Expand Down

0 comments on commit ef8f648

Please sign in to comment.