From e3407990f5a620a94cc2f707ca50cd18597896e9 Mon Sep 17 00:00:00 2001 From: Kim Yongbeom Date: Mon, 11 Nov 2024 21:34:55 +0800 Subject: [PATCH] feat: Allow CORS all --- peerprep/backend/collab-service/src/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"], }, });