Skip to content

Commit

Permalink
feat: enable CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
w8385 committed Apr 4, 2024
1 parent d634466 commit 230e89c
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(AppModule);
configSwagger(app);

app.enableCors();
await app.listen(process.env.SERVER_PORT);
}

Expand Down

0 comments on commit 230e89c

Please sign in to comment.