Skip to content

Commit

Permalink
Fix allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Aug 16, 2023
1 parent 0a07080 commit ada75ca
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="*")
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 ada75ca

Please sign in to comment.