Co-authored-by: bot-backend <bot-backend@gendsgn.local> Co-committed-by: bot-backend <bot-backend@gendsgn.local>
This commit is contained in:
parent
0e2bba78b7
commit
406ea8365a
1 changed files with 5 additions and 1 deletions
|
|
@ -172,4 +172,8 @@ app.include_router(ping.router, prefix="/api/v1", tags=["ping"])
|
|||
|
||||
@app.get("/health")
|
||||
async def health() -> dict[str, str]:
|
||||
return {"status": "ok", "environment": settings.environment}
|
||||
return {
|
||||
"status": "ok",
|
||||
"environment": settings.environment,
|
||||
"version": app.version,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue