fix(health): register route on health() not helper
Browse filesDecorator was on _frontend_build_sha(), causing 500 on /health and breaking HF sanity checks.
Co-authored-by: Cursor <cursoragent@cursor.com>
178 unmodified lines1791801811821821831842 unmodified lines187188189190191192193178 unmodified lines return create_session(email, input_mode, summary)
@app.get("/health", response_model=HealthResponse)def _frontend_build_sha() -> str: sha_path = Path(__file__).resolve().parent.parent / "static" / ".build-sha" try:2 unmodified lines return "unknown"
@app.get("/health", response_model=HealthResponse)def health() -> HealthResponse: key = os.getenv("ARMORIQ_API_KEY", "") config_path = Path(__file__).parent / "armoriq.yaml"backend/main.py+1-1