Skip to content

Commit

Permalink
CORS: Allow POST (#175)
Browse files Browse the repository at this point in the history
* add oidc capabilities

* lint

* fix: temp key for build step

* fix(debug): prevent http failure in local env

* feat(oidc): jwt with properties

* lint

* chore(black)

* feat(CORS): allow POST
  • Loading branch information
esinx authored Sep 1, 2024
1 parent cd79316 commit bcbab7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Platform/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# CORS settings
CORS_ALLOW_ALL_ORIGINS = True
CORS_ALLOW_METHODS = ["GET"]
CORS_ALLOW_METHODS = ["GET", "POST"]
CORS_URLS_REGEX = r"^/options/$"

# Email client settings
Expand Down

0 comments on commit bcbab7e

Please sign in to comment.