From 6c740add8f4ebfce0fe631f44f323f17bba67fed Mon Sep 17 00:00:00 2001 From: sripwoud Date: Thu, 24 Oct 2024 19:49:08 +0200 Subject: [PATCH] fix(server): allow all origins --- 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 29333df..10f0b1b 100644 --- a/apps/server/src/index.ts +++ b/apps/server/src/index.ts @@ -7,7 +7,7 @@ import { TrpcRouter } from 'server/trpc/trpc.router' async function bootstrap() { const app = await NestFactory.create(AppModule) app.enableCors({ - origin: serverConfig.clientUrl, + origin: '*', credentials: true, }) app.use(cookieParser())