1
0
Fork 0

Add inventory.hackerspace.pl to ALLOWED_HOSTS

This commit is contained in:
Dariusz Niemczyk 2023-07-11 23:36:35 +02:00
parent bfe9d27d71
commit b74c1b3c8f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ DEBUG = not PROD
ALLOWED_HOSTS = env( ALLOWED_HOSTS = env(
"ALLOWED_HOSTS", "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 ""), + (",127.0.0.1" if not PROD else ""),
).split(",") ).split(",")
LOGIN_REDIRECT_URL = "/admin/" LOGIN_REDIRECT_URL = "/admin/"