Avinashnalla7 commited on
Commit
019cf9f
·
1 Parent(s): 7dbd13e

Hotfix: health 200; send-config fast return

Browse files
Files changed (1) hide show
  1. backend/api.py +2 -1
backend/api.py CHANGED
@@ -91,7 +91,8 @@ def _get_env_required(key: str) -> str:
91
 
92
  @app.get("/health")
93
  def health():
94
- return {"ok": True, "stored": str(out_path), "pdf_attached": bool(pdf_exists)}
 
95
  @app.get("/api/pdf/{pdf_id}")
96
  def get_pdf(pdf_id: str):
97
  path = UPLOADS_DIR / f"{pdf_id}.pdf"
 
91
 
92
  @app.get("/health")
93
  def health():
94
+ return {"ok": True}
95
+
96
  @app.get("/api/pdf/{pdf_id}")
97
  def get_pdf(pdf_id: str):
98
  path = UPLOADS_DIR / f"{pdf_id}.pdf"