Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

feat(dashboard): serve domain-graph.json via Vite dev server

Lum11049e8b99bc9ec3
diff --git a/understand-anything-plugin/packages/dashboard/vite.config.ts b/understand-anything-plugin/packages/dashboard/vite.config.ts
index cd43a830..c5fef29e 100644
--- a/understand-anything-plugin/packages/dashboard/vite.config.ts
+++ b/understand-anything-plugin/packages/dashboard/vite.config.ts
@@ -44,6 +44,7 @@ export default defineConfig({
const pathname = url.pathname;
const isProtectedEndpoint =
pathname === "/knowledge-graph.json" ||
+ pathname === "/domain-graph.json" ||
pathname === "/diff-overlay.json" ||
pathname === "/meta.json";
@@ -66,6 +67,8 @@ export default defineConfig({
? "diff-overlay.json"
: pathname === "/meta.json"
? "meta.json"
+ : pathname === "/domain-graph.json"
+ ? "domain-graph.json"
: "knowledge-graph.json";
const graphDir = process.env.GRAPH_DIR;