feat: 知识图谱测试api

This commit is contained in:
hhs
2026-04-05 15:03:56 +08:00
parent a7675458a1
commit c500d75b12
11 changed files with 843 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import axios from 'axios';
import type { GraphData, Node, Edge } from '../types/graph';
const API_BASE_URL = import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api';
const API_BASE_URL = 'http://localhost:3001/api';
const apiClient = axios.create({
baseURL: API_BASE_URL,