Skip to content

Commit

Permalink
[FIX] if needs to be ended with :
Browse files Browse the repository at this point in the history
  • Loading branch information
dameyerdave committed Jan 4, 2024
1 parent 9e5a297 commit 7c3bc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/ena_upload_ms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
ALLOWED_HOSTS = environ.get("DJANGO_ALLOWED_HOSTS", "*").split(",")

# CORS configuration
if environ.get("DJANGO_CORS_ALLOWED_ORIGINS")
if environ.get("DJANGO_CORS_ALLOWED_ORIGINS"):
CORS_ALLOW_ALL_ORIGINS = False
CORS_ALLOWED_ORIGINS = environ.get("DJANGO_CORS_ALLOWED_ORIGINS").split(",")
CORS_ALLOW_HEADERS = default_headers + (
Expand Down

0 comments on commit 7c3bc32

Please sign in to comment.