Fix settings

pull/1/head
Dariusz Niemczyk 2023-07-11 17:51:01 +02:00
parent efcd932481
commit 150c405468
No known key found for this signature in database
GPG Key ID: 28DFE7164F497CB6
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ DEBUG = not PROD
ALLOWED_HOSTS = env(
"ALLOWED_HOSTS",
"devinventory,inventory.waw.hackerspace.pl,i,inventory"
+ (",127.0.0.1" if PROD != True else ""),
+ (",127.0.0.1" if not PROD else ""),
).split(",")
LOGIN_REDIRECT_URL = "/admin/"