Skip to content

Commit

Permalink
fix: globalpipe를 지워버린 것을 복구 #45
Browse files Browse the repository at this point in the history
  • Loading branch information
koomchang committed Nov 5, 2024
1 parent 7a02dc0 commit 4b43128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { GlobalExceptionFilter } from './common/exception/filter/GlobalException

async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useGlobalPipes(new ValidationPipe({ transform: true }));
app.useGlobalFilters(new GlobalExceptionFilter());
app.useGlobalPipes(new ValidationPipe({ transform: true }));
app.enableCors({
origin: 'http://localhost:5173',
});
Expand Down

0 comments on commit 4b43128

Please sign in to comment.