diff --git a/spejstore/settings.py b/spejstore/settings.py index 9a156ec..78ebccd 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -33,7 +33,7 @@ DEBUG = not PROD ALLOWED_HOSTS = env( "ALLOWED_HOSTS", - "devinventory,inventory.waw.hackerspace.pl,i,inventory" + "devinventory,inventory.waw.hackerspace.pl,inventory.hackerspace.pl,i,inventory" + (",127.0.0.1" if not PROD else ""), ).split(",") LOGIN_REDIRECT_URL = "/admin/"