diff --git a/src/main.ts b/src/main.ts index 1810a55..57ac811 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,7 +20,7 @@ async function bootstrap() { // CORS app.enableCors({ - origin: process.env.CORS_ORIGINS?.split(',') || '*', + origin: process.env.ALLOWED_ORIGINS?.split(',') || '*', credentials: true, });