fix: add /api/health alias endpoint
Adds GET /api/health as alias for /health — fixes frontend 404. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fd60863e9c
commit
9a450d2a84
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ app.add_middleware(
|
|||
|
||||
|
||||
@app.get("/health")
|
||||
@app.get("/api/health")
|
||||
async def health() -> dict[str, Any]:
|
||||
return {"status": "ok", "timestamp": int(time.time())}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue