From f240ccd3066f0f18f2c2a26b7f2f5a7586e5dbf8 Mon Sep 17 00:00:00 2001 From: Anthony Mineo Date: Sat, 29 Aug 2020 19:35:28 -0400 Subject: [PATCH] Enable CORS --- app/api/src/main.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/api/src/main.ts b/app/api/src/main.ts index 12e2664..85cd85e 100644 --- a/app/api/src/main.ts +++ b/app/api/src/main.ts @@ -8,7 +8,6 @@ async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableCors({ - origin: [ /\.localhost$/, /\.playt2\.com$/ ], credentials: true });