Add healthcheck

This commit is contained in:
Mathias DUPEUX 2024-12-30 03:06:15 +01:00
parent 0cf51aa2c3
commit 2dc1da3ec2

4
app.py
View file

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