From 7cfa73d0da9ec6b4a557635e3b89bdf161f2edb0 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Tue, 14 May 2024 00:52:04 +0100 Subject: [PATCH] chore: add all on cors origins on server just for test porposes --- apps/server/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/index.ts b/apps/server/src/index.ts index d24463b..6ece483 100644 --- a/apps/server/src/index.ts +++ b/apps/server/src/index.ts @@ -37,7 +37,7 @@ const rooms = new Map(); const io = new Server({ cors: { - origin: "http://localhost:3000", + origin: "*", }, });