From 2dc1da3ec249e631cf5ac6369ae4258fa81fd734 Mon Sep 17 00:00:00 2001 From: MathiasDPX Date: Mon, 30 Dec 2024 03:06:15 +0100 Subject: [PATCH] Add healthcheck --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index 7d89d9d..15c6904 100644 --- a/app.py +++ b/app.py @@ -75,6 +75,10 @@ def translate_day(weekday: int) -> str: app = Flask(__name__) +@app.route('/healthcheck') +def healthcheck(): + return 'ok' + @app.route('/') def home(): delta = request.args.get("delta", default=0, type=int)