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
a8d53fa47b
commit
3483b71fcb
1 changed files with 1 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ app.add_middleware(
|
||||||
|
|
||||||
|
|
||||||
@app.get("/health")
|
@app.get("/health")
|
||||||
|
@app.get("/api/health")
|
||||||
async def health() -> dict[str, Any]:
|
async def health() -> dict[str, Any]:
|
||||||
return {"status": "ok", "timestamp": int(time.time())}
|
return {"status": "ok", "timestamp": int(time.time())}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue