feat: add health check endpoint

This commit is contained in:
2026-06-16 11:43:59 +03:00
parent 00e601c21a
commit 34fbf2e03a

View File

@@ -113,3 +113,9 @@ async def ping() -> dict[str, str]:
'message': 'pong', 'message': 'pong',
'status': 'ok', 'status': 'ok',
} }
@app.get('/health')
async def health() -> dict[str, str]:
return {
'status': 'ok',
}