From 3483b71fcb5f4f350c9e0b4d4603b6a6fc2092be 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())}