fix: add admin.prosapp.co to CORS allowed origins

This commit is contained in:
Lizandro Guarnizo
2026-06-04 08:46:18 -05:00
parent 86a14713e0
commit 668aa152bf
+6 -1
View File
@@ -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,
});