Add healthcheck endpoint
This commit is contained in:
@@ -164,6 +164,7 @@ async def ping() -> dict[str, str]:
|
|||||||
'status': 'ok',
|
'status': 'ok',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@app.get('/healthcheck')
|
||||||
@app.get('/health')
|
@app.get('/health')
|
||||||
async def health() -> dict[str, str]:
|
async def health() -> dict[str, str]:
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user