feat: health/root endpoint for monitoring
Some checks failed
ci / docker (push) Has been cancelled

This commit is contained in:
2024-10-10 00:17:31 +02:00
parent e7ba6d64b3
commit 4d26d45515

View File

@@ -395,6 +395,12 @@ def save_in_dispatch_queue(persons, title, message, method):
return dispatch_secrets return dispatch_secrets
@app.route("/")
@app.route("/health")
def health():
return ("Not Iplemented, but at least it's running", 200)
def create_app(): def create_app():
db.create_all() db.create_all()