From cc01084630f2e29e703cd190197db6e9133cc196 Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 11 Nov 2025 05:33:24 +0100 Subject: [PATCH] fix: use view_functions instead of string reference --- flado/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flado/app.py b/flado/app.py index 1188666..71d4606 100644 --- a/flado/app.py +++ b/flado/app.py @@ -88,7 +88,7 @@ def create_app(config_name: Optional[str] = None) -> Flask: csrf = CSRFProtect(app) # Exempt health check endpoint from CSRF (used by monitoring) - csrf.exempt('tasks.health_check') + csrf.exempt(tasks_blueprint.view_functions['health_check']) # Register error handlers register_error_handlers(app)