added a health check to see if this can help with the odd startup lag, it didnt

This commit is contained in:
2025-10-10 23:02:47 +11:00
parent ee1c9b5494
commit 66344e146e

View File

@@ -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