Skip to content

Commit 68d3c91

Browse files
committed
fix: cors 설정
1 parent 3a06ca8 commit 68d3c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function bootstrap() {
3737
app.useGlobalFilters(new AllExceptionsFilter());
3838
app.enableCors({
3939
// origin: config.allowCorsList,
40-
origin: '*',
40+
origin: config.allowCorsList,
4141
credentials: true,
4242
allowedHeaders: ['Content-Type', 'Authorization'],
4343
methods: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS'],

0 commit comments

Comments
 (0)