Browse Source

feat: 修改知识图谱地址

pull/198/head
zhaowei 9 months ago
parent
commit
bdab4cf697
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      react-ui/src/components/IFramePage/index.tsx

+ 4
- 2
react-ui/src/components/IFramePage/index.tsx View File

@@ -38,8 +38,10 @@ const getRequestAPI = (type: IframePageType): (() => Promise<any>) => {
code: 200,
data: SessionStorage.getItem(SessionStorage.aimUrlKey) || '',
});
case IframePageType.Knowledge: // git link
return () => Promise.resolve({ code: 200, data: 'http://172.168.15.235:32701' });
case IframePageType.Knowledge: { // 知识图谱
const { origin } = location;
return () => Promise.resolve({ code: 200, data: `http://${origin}:32701` });
}
}
};



Loading…
Cancel
Save