From 9a450d2a841651c52b79299b492b894542f5c25c Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Sat, 21 Mar 2026 07:18:56 +0200 Subject: [PATCH] fix: add /api/health alias endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds GET /api/health as alias for /health — fixes frontend 404. Co-Authored-By: Claude Sonnet 4.6 --- backend/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/main.py b/backend/main.py index b7388cd..38207f0 100644 --- a/backend/main.py +++ b/backend/main.py @@ -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())}