From 3cc060b713e484268cd37b17bcdb1565d93b152b Mon Sep 17 00:00:00 2001 From: Manik Maity Date: Wed, 13 Nov 2024 21:17:58 +0530 Subject: [PATCH] FIX - Deploy bug --- backend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.js b/backend/src/index.js index d1a58ed..d5542f4 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -19,7 +19,7 @@ app.use('/docs', swaggerUi.serve, swaggerUi.setup(swaggerDocs)); const io = new Server(httpServer, { cors: { - origin : "*", // Allow requests from any origin + origin: CLIENT_URL, credentials: true } })