2 Commits
Author SHA1 Message Date
pierre geeraert 3dc8cce37a upgrade django version as well
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
2026-06-16 21:04:19 +01:00
pierre geeraert 090eeccf8c add https for the CORS setting 2026-06-16 20:58:09 +01:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -28,6 +28,9 @@ DEBUG = os.getenv("DEBUG", "False").lower() in ("true", "1", "t")
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",") 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 # Application definition
+1 -1
View File
@@ -1,4 +1,4 @@
django django==6.0.0
psycopg2 psycopg2
requests requests
proxmoxer proxmoxer