fix: use absolute public booking URLs

This commit is contained in:
2026-04-29 10:18:22 +02:00
parent c46d803951
commit 4ae85947e0
6 changed files with 37 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ def csv_env(name, default=""):
ALLOWED_HOSTS = csv_env("DJANGO_ALLOWED_HOSTS", "localhost,127.0.0.1")
CSRF_TRUSTED_ORIGINS = csv_env("DJANGO_CSRF_TRUSTED_ORIGINS")
CORS_ALLOWED_ORIGINS = csv_env("CORS_ALLOWED_ORIGINS")
SITE_BASE_URL = os.environ.get("SITE_BASE_URL", "http://localhost:8080").rstrip("/")
INSTALLED_APPS = [
"django.contrib.admin",