fix: add admin.prosapp.co to CORS allowed origins
This commit is contained in:
+6
-1
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user