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 } })