Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -66,11 +66,6 @@ app.include_router(chat_router, prefix="/api")
|
|
66 |
# ---------------- Admin API routes ----------------------------------
|
67 |
app.include_router(admin_router)
|
68 |
|
69 |
-
# ---------------- Health probe (HF Spaces watchdog) -----------------
|
70 |
-
@app.get("/")
|
71 |
-
def health_check():
|
72 |
-
return {"status": "ok"}
|
73 |
-
|
74 |
# ---------------- Serve Angular UI if exists ------------------------
|
75 |
static_path = Path("static")
|
76 |
log(f"π Checking for static directory at: {static_path.absolute()}")
|
|
|
66 |
# ---------------- Admin API routes ----------------------------------
|
67 |
app.include_router(admin_router)
|
68 |
|
|
|
|
|
|
|
|
|
|
|
69 |
# ---------------- Serve Angular UI if exists ------------------------
|
70 |
static_path = Path("static")
|
71 |
log(f"π Checking for static directory at: {static_path.absolute()}")
|