Update app.py
All checks were successful
All checks were successful
This commit is contained in:
4
app.py
4
app.py
@@ -74,6 +74,10 @@ def home():
|
|||||||
|
|
||||||
return render_template_string(HTML, tekst=tekst, gespiegeld=gespiegeld)
|
return render_template_string(HTML, tekst=tekst, gespiegeld=gespiegeld)
|
||||||
|
|
||||||
|
@app.get("/health")
|
||||||
|
def health():
|
||||||
|
return {"status": "ok"}, 200
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.run(host="0.0.0.0", debug=True)
|
app.run(host="0.0.0.0", debug=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user