From bbf2229de392040793b669434f57fc63568eb849 Mon Sep 17 00:00:00 2001 From: Youe Graillot Date: Sun, 14 Nov 2021 18:45:56 +0100 Subject: [PATCH] fix formating --- ihatemoney/web.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ihatemoney/web.py b/ihatemoney/web.py index 65570beb..028b7342 100644 --- a/ihatemoney/web.py +++ b/ihatemoney/web.py @@ -151,10 +151,12 @@ def pull_project(endpoint, values): # redirect to authentication page raise Redirect303(url_for(".authenticate", project_id=project_id)) + @main.route("/healthcheck", methods=["GET"]) def health(): return "OK" + @main.route("/admin", methods=["GET", "POST"]) def admin(): """Admin authentication.