Skip to content

Commit

Permalink
fix: restore jinja filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Nov 21, 2023
1 parent 251445b commit 5a7350b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lifemonitor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a7350b

Please sign in to comment.