Skip to content

Commit

Permalink
fix: add methods to cors
Browse files Browse the repository at this point in the history
  • Loading branch information
lukejianu committed Nov 18, 2023
1 parent cdb0146 commit ee97654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api-v2/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function bootstrap() {
cors: {
origin:
"https://graduatenu-frontend-v2-git-christina-move-fro-b625a5-sandboxneu.vercel.app",
methods: ["GET", "PUT", "POST", "PATCH", "DELETE"],
},
});

Expand Down

0 comments on commit ee97654

Please sign in to comment.