Skip to content

Commit

Permalink
fix: cors 활성화 (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coalery authored Nov 12, 2024
2 parents 8463d94 + b356e39 commit 8593bc7
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 8593bc7

Please sign in to comment.