From d3f961f1d5baeab5230a134415924c21613b7c49 Mon Sep 17 00:00:00 2001 From: dev1lfreak Date: Tue, 16 Jun 2026 11:42:09 +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 422a5d2..4b172d4 100644 --- a/src/main.py +++ b/src/main.py @@ -146,3 +146,9 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + }