From 837413f1e9db4a7abed54a400273a41814c13b7c Mon Sep 17 00:00:00 2001 From: samyabrata-maji Date: Sun, 30 Jun 2024 03:15:37 +0530 Subject: [PATCH] feat: dep --- server/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/index.ts b/server/src/index.ts index 873564f..c3391da 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -10,7 +10,7 @@ import path from "path"; const app = express(); const server = createServer(app); -app.use(cors()); +app.use(cors({origin: "*"})); const io = new Server(server, { cors: {