From 01dae3a4acb563dd7bd3d15c34e0a6c811a47164 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 25 Jul 2026 18:37:58 -0700 Subject: [PATCH] fix(dashboard): serve /dashboard/ index via StaticFiles html=True Resolves the 404 on a direct hit to /dashboard/ (verified by reliability sweep: endpoint + dashboard verifiers). / and all assets already worked; this makes the bare directory path serve index.html too. --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 463b485..6f36946 100644 --- a/server.py +++ b/server.py @@ -2527,7 +2527,7 @@ import signal dashboard_dir = BASE_DIR / "dashboard" if dashboard_dir.exists(): - app.mount("/dashboard", StaticFiles(directory=str(dashboard_dir)), name="dashboard") + app.mount("/dashboard", StaticFiles(directory=str(dashboard_dir), html=True), name="dashboard") # graphify knowledge-graph output (built by `graphify . --code-only`). # Served so dashboard pages can link/open the interactive graph.