Skip to content

Commit

Permalink
attempt to fix cors error in BE with text/html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent 5f076ac commit a9d17ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ app.use(
"st-auth-mode",
"content-type",
"application/json",
"text/html",
...supertokens.getAllCORSHeaders(),
],
credentials: true,
Expand Down

0 comments on commit a9d17ab

Please sign in to comment.