/health endpoint

This commit is contained in:
Youe Graillot 2021-11-14 18:36:59 +01:00
parent b502e1403f
commit f2d3ec1fc2

View file

@ -151,6 +151,9 @@ def pull_project(endpoint, values):
# redirect to authentication page
raise Redirect303(url_for(".authenticate", project_id=project_id))
@main.route("/health", methods=["GET"])
def health():
return "OK"
@main.route("/admin", methods=["GET", "POST"])
def admin():