Skip to content

Commit 44e9537

Browse files
committed
24.11.02
1 parent 46b7f3b commit 44e9537

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main.ts

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ async function bootstrap() {
88
const app = await NestFactory.create(AppModule);
99
app.useGlobalFilters(new ServiceExceptionToHttpExceptionFilter());
1010
app.useGlobalPipes(new ValidationPipe());
11-
app.enableCors({
12-
origin: '*', // 프론트엔드에서 접근 가능한 도메인
13-
credentials: true,
14-
allowedHeaders: '*', // 모든 헤더 허용
15-
});
1611
setupSwagger(app);
1712
await app.listen(process.env.PORT);
1813
console.log(`Application is running on: ${await app.getUrl()}`);

0 commit comments

Comments
 (0)