Skip to content

Commit

Permalink
Merge pull request #346 from WISVCH/allowed_hosts
Browse files Browse the repository at this point in the history
Fix dienst2 host
  • Loading branch information
JoepdeJong authored Aug 16, 2023
2 parents 389043b + ada75ca commit 1b30041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dienst2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ADMINS = getaddresses([env("DJANGO_ADMINS", default="")])
MANAGERS = ADMINS

ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default="*").split(",")
ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default=["*"])
INTERNAL_IPS = env.list("INTERNAL_IPS", default="")
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")

Expand Down

0 comments on commit 1b30041

Please sign in to comment.