diff --git a/backend/src/main.ts b/backend/src/main.ts index 5de0700..e82f19c 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -10,7 +10,12 @@ async function bootstrap() { const logger = new Logger('Bootstrap'); app.enableCors({ - origin: ['http://localhost:3000', 'http://localhost:5173', 'https://app.prosapp.co'], + origin: [ + 'http://localhost:3000', + 'http://localhost:5173', + 'https://app.prosapp.co', + 'https://admin.prosapp.co', + ], methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'], credentials: true, });