From 893c444000e269cab42591024d3108c027cc2f40 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 1 Mar 2026 00:08:59 +0100 Subject: [PATCH] Talisman fixes --- backend/app.py | 4 +++- backend/templates/admin.html | 2 +- backend/templates/directeur.html | 2 +- backend/templates/doelen_beheer.html | 2 +- backend/templates/leerkracht.html | 2 +- backend/templates/login.html | 2 +- backend/templates/scholengroep_ict.html | 2 +- backend/templates/school_ict.html | 2 +- backend/templates/setup.html | 2 +- backend/templates/superadmin_login.html | 2 +- 10 files changed, 12 insertions(+), 10 deletions(-) diff --git a/backend/app.py b/backend/app.py index a20df94..e64d47e 100644 --- a/backend/app.py +++ b/backend/app.py @@ -103,7 +103,9 @@ def create_app(): } Talisman( app, - force_https=is_https, + # HTTPS redirect hoort in nginx, NIET hier. + # Talisman zou anders redirecten naar het interne Docker adres (127.0.0.1:5000). + force_https=False, strict_transport_security=is_https, strict_transport_security_max_age=31536000, strict_transport_security_include_subdomains=True, diff --git a/backend/templates/admin.html b/backend/templates/admin.html index ca4294d..609b1af 100644 --- a/backend/templates/admin.html +++ b/backend/templates/admin.html @@ -322,7 +322,7 @@
-