Skip to content

Commit

Permalink
fix: cors 활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
Coalery committed Nov 12, 2024
1 parent 8463d94 commit b356e39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ async function bootstrap() {
const app = await NestFactory.create(RootModule);

app.use(cookieParser());
app.enableCors();

await app.listen(3000);
}
Expand Down

0 comments on commit b356e39

Please sign in to comment.