We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46b7f3b commit 44e9537Copy full SHA for 44e9537
src/main.ts
@@ -8,11 +8,6 @@ async function bootstrap() {
8
const app = await NestFactory.create(AppModule);
9
app.useGlobalFilters(new ServiceExceptionToHttpExceptionFilter());
10
app.useGlobalPipes(new ValidationPipe());
11
- app.enableCors({
12
- origin: '*', // 프론트엔드에서 접근 가능한 도메인
13
- credentials: true,
14
- allowedHeaders: '*', // 모든 헤더 허용
15
- });
16
setupSwagger(app);
17
await app.listen(process.env.PORT);
18
console.log(`Application is running on: ${await app.getUrl()}`);
0 commit comments