feat: add health check endpoint
This commit is contained in:
@@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user