From f839dca1340ae94c976fdde4e974ae2e9ae23089 Mon Sep 17 00:00:00 2001 From: dev1lfreak Date: Tue, 16 Jun 2026 11:39:05 +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 6655cbf..b1c8c86 100644 --- a/src/main.py +++ b/src/main.py @@ -142,3 +142,9 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + }