Skip to content

Commit

Permalink
Settings ALLOWED_DOMAINS -> ALLOWED_HOSTS.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Jul 28, 2023
1 parent bea08b7 commit f83f8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wastd/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
DEBUG = os.environ.get("DEBUG", False) == "True"
SECRET_KEY = os.environ.get("SECRET_KEY", "PlaceholderSecretKey")
if not DEBUG:
ALLOWED_HOSTS = os.environ.get("ALLOWED_DOMAINS", "").split(",")
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS", "").split(",")
else:
ALLOWED_HOSTS = ["*"]
INTERNAL_IPS = ["127.0.0.1", "::1"]
Expand Down

0 comments on commit f83f8e0

Please sign in to comment.