improved compose and entry point files

This commit is contained in:
2025-11-19 16:40:42 +01:00
parent ae86a2e5fa
commit 72891440af
3 changed files with 30 additions and 8 deletions

View File

@@ -31,6 +31,7 @@ ALLOWED_HOSTS = ['*']
# Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
CSRF_TRUSTED_ORIGINS = ["http://localhost:8000", "http://127.0.0.1:8000", "http://10.0.2.249:8000", "https://*.etss.it"]
# Application definition
INSTALLED_APPS = [