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.