ukrycie_zaznaczonych #1

Merged
gru merged 8 commits from ukrycie_zaznaczonych into master 2025-07-12 23:39:35 +02:00
11 changed files with 443 additions and 120 deletions
Showing only changes of commit 2c6887095d - Show all commits

4
app.py
View File

@@ -272,7 +272,7 @@ def require_system_password():
if endpoint is None:
return
if endpoint == 'system_auth':
if endpoint in ('system_auth', 'healthcheck'):
return
if 'authorized' not in request.cookies and not endpoint.startswith('login') and endpoint != 'favicon':
@@ -1208,7 +1208,7 @@ def healthcheck():
correct_token = app.config.get('HEALTHCHECK_TOKEN')
if header_token != correct_token:
abort(403)
abort(404)
return 'OK', 200
# =========================================================================================