- healthz improvements

This commit is contained in:
Josako
2025-09-07 08:28:02 +02:00
parent 5c20e6c1f9
commit 362b2fe753
3 changed files with 16 additions and 2 deletions

View File

@@ -318,6 +318,12 @@ class Config(object):
# Content Directory for static content like the changelog, terms & conditions, privacy statement, ...
CONTENT_DIR = '/app/content'
# Ensure health check endpoints are exempt from CSRF protection
SECURITY_EXEMPT_URLS = [
r'^/healthz($|/.*)',
r'^/_healthz($|/.*)',
]
class DevConfig(Config):
DEVELOPMENT = True