diff --git a/peerprep/backend/collab-service/src/server.js b/peerprep/backend/collab-service/src/server.js index 48a63d4262..b862800a7c 100644 --- a/peerprep/backend/collab-service/src/server.js +++ b/peerprep/backend/collab-service/src/server.js @@ -58,7 +58,7 @@ wss.on('connection', (conn, req) => { const io = new Server(server, { cors: { - origin: "*", + origin: true, methods: ["GET", "POST"], }, });