We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a06ca8 commit 68d3c91Copy full SHA for 68d3c91
src/main.ts
@@ -37,7 +37,7 @@ async function bootstrap() {
37
app.useGlobalFilters(new AllExceptionsFilter());
38
app.enableCors({
39
// origin: config.allowCorsList,
40
- origin: '*',
+ origin: config.allowCorsList,
41
credentials: true,
42
allowedHeaders: ['Content-Type', 'Authorization'],
43
methods: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'],
0 commit comments