Skip to content

Commit

Permalink
fix: cors methos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 25, 2024
1 parent 9fdab01 commit cb15d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.enableCors({
origin: true,
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,
});

Expand Down

0 comments on commit cb15d08

Please sign in to comment.