fix: white screen in development image

This commit is contained in:
Daan Selen
2026-03-31 21:32:10 +02:00
committed by Donald Zou
parent 21bea56426
commit ebf37c879d
104 changed files with 838 additions and 580 deletions

View File

@@ -269,7 +269,8 @@ def auth_req():
("username" not in session or session.get("role") != "admin")
and (f"{appPrefix}/" != request.path and f"{appPrefix}" != request.path)
and not request.path.startswith(f'{appPrefix}/client')
and not request.path.startswith(f'{appPrefix}/static')
and not request.path.startswith(f'{appPrefix}/img')
and not request.path.startswith(f'{appPrefix}/assets')
and request.path not in whiteList
):
response = Flask.make_response(app, {