Compare commits
2
Commits
17a7e173fe
...
3dc8cce37a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dc8cce37a | ||
|
|
090eeccf8c |
@@ -28,6 +28,9 @@ DEBUG = os.getenv("DEBUG", "False").lower() in ("true", "1", "t")
|
||||
|
||||
|
||||
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
|
||||
CSRF_TRUSTED_ORIGINS=[]
|
||||
for ALLOWED_HOST in os.getenv("ALLOWED_HOSTS").split(","):
|
||||
CSRF_TRUSTED_ORIGINS.append("https://"+str(ALLOWED_HOST))
|
||||
|
||||
# Application definition
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
django
|
||||
django==6.0.0
|
||||
psycopg2
|
||||
requests
|
||||
proxmoxer
|
||||
|
||||
Reference in New Issue
Block a user