From 592a06417c644f1fa35876eeaa0f0bf730063dee Mon Sep 17 00:00:00 2001 From: dev1lfreak Date: Tue, 16 Jun 2026 11:44:50 +0300 Subject: [PATCH] feat: add health check endpoint --- src/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.py b/src/main.py index 22047d6..df8920e 100644 --- a/src/main.py +++ b/src/main.py @@ -103,3 +103,9 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + }