Skip to content

Commit

Permalink
fix/#39/cors 메서드 delete 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gwgw123 committed Dec 26, 2024
1 parent ad5e3fc commit 3f38ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function bootstrap() {
'https://admin.cokoedu.com',
],
credentials: true,
methods: 'GET,HEAD,POST,PUT,PATCH',
methods: 'GET,POST,PUT,PATCH,DELETE',
allowedHeaders:
'Origin, X-Requested-With, Content-Type, Accept, Authorization',
});
Expand Down

0 comments on commit 3f38ed2

Please sign in to comment.