Skip to content

Commit

Permalink
Attempt #12: Add new Access control header to CORS in backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent 6a60ad4 commit 1d8bbd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ app.use(
],
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"],
allowedHeaders: [
"Access-Control-Allow-Origin",
"Access-Control-Allow-Headers",
"Content-type",
"Authorization",
"Origin",
"Access-Control-Allow-Origin",
"Accept",
Expand Down

0 comments on commit 1d8bbd5

Please sign in to comment.