Skip to content

Commit

Permalink
fix: Adjust CORS_ALLOW_ALL_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro-Meireles committed Dec 11, 2024
1 parent 3f88097 commit 7e6947f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apip/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@
# django-cors-headers Configurations

CORS_ALLOWED_ORIGINS = env.list("CORS_ALLOWED_ORIGINS", default="")
CORS_ALLOW_ALL_ORIGINS = env.str("CORS_ALLOW_ALL_ORIGINS", default=DEBUG)
CORS_ALLOW_ALL_ORIGINS = env.bool("CORS_ALLOW_ALL_ORIGINS", default=DEBUG)

0 comments on commit 7e6947f

Please sign in to comment.