From 5a7350b8f4e87ad034e352b3325814f3aca21871 Mon Sep 17 00:00:00 2001 From: Marco Enrico Piras Date: Tue, 21 Nov 2023 12:27:23 +0100 Subject: [PATCH] fix: restore jinja filter --- lifemonitor/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lifemonitor/app.py b/lifemonitor/app.py index 6917ce07..fe39edc3 100644 --- a/lifemonitor/app.py +++ b/lifemonitor/app.py @@ -201,3 +201,5 @@ def initialize_app( init_metrics(app, prom_registry) # register commands commands.register_commands(app) + # register the domain filter with Jinja + app.jinja_env.filters["domain"] = get_domain