Skip to content

Commit 9e8b99b

Browse files
committed
feat(dashboard): serve domain-graph.json via Vite dev server
1 parent a4daccc commit 9e8b99b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

understand-anything-plugin/packages/dashboard/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default defineConfig({
4444
const pathname = url.pathname;
4545
const isProtectedEndpoint =
4646
pathname === "/knowledge-graph.json" ||
47+
pathname === "/domain-graph.json" ||
4748
pathname === "/diff-overlay.json" ||
4849
pathname === "/meta.json";
4950

@@ -66,6 +67,8 @@ export default defineConfig({
6667
? "diff-overlay.json"
6768
: pathname === "/meta.json"
6869
? "meta.json"
70+
: pathname === "/domain-graph.json"
71+
? "domain-graph.json"
6972
: "knowledge-graph.json";
7073

7174
const graphDir = process.env.GRAPH_DIR;

0 commit comments

Comments
 (0)