chore: add health endpoint (#2175)

This commit is contained in:
Carlos Quintana 2024-08-01 09:12:12 +02:00 committed by GitHub
parent 7b44226317
commit 429ebf57cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -218,6 +218,10 @@ def create_app() -> Flask:
def cleanup(resp_or_exc): def cleanup(resp_or_exc):
Session.remove() Session.remove()
@app.route("/health", methods=["GET"])
def healthcheck():
return "success", 200
return app return app