From 66344e146ed5bbbb8624a21730a962ede1e80123 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 10 Oct 2025 23:02:47 +1100 Subject: [PATCH] added a health check to see if this can help with the odd startup lag, it didnt --- main.py | 4 ++++ 1 file changed, 4 insertions(+) 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