diff --git a/main.py b/main.py index 4aea174..bb453b9 100644 --- a/main.py +++ b/main.py @@ -246,6 +246,10 @@ def logout(): logout_user() return redirect('/login') +# quick health route so traefik knows we are up +@app.route('/health') +def health(): + return {"status": "ok"}, 200 ############################################################################### # main to be called via Flask/Gunicorn