From 3fa23bed8692258881fc6e1a4958ded9f2599382 Mon Sep 17 00:00:00 2001 From: dev1lfreak Date: Tue, 16 Jun 2026 11:41:04 +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 814cbc1..bda7a5c 100644 --- a/src/main.py +++ b/src/main.py @@ -152,3 +152,9 @@ async def ping() -> dict[str, str]: 'message': 'pong', 'status': 'ok', } + +@app.get('/health') +async def health() -> dict[str, str]: + return { + 'status': 'ok', + }