1
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<script src="/node_modules/ace-builds/src-min-noconflict/ace.js" type="text/javascript"></script>
|
<script src="/node_modules/ace-builds/src-min-noconflict/ace.js" type="text/javascript"></script>
|
||||||
<title>NPCs</title>
|
<title>NPCs</title>
|
||||||
<script type="module" crossorigin src="/assets/index-43ef01ab.js"></script>
|
<script type="module" crossorigin src="/assets/index-583c10b3.js"></script>
|
||||||
<link rel="modulepreload" crossorigin href="/assets/acebuilds-fbc0ccc6.js">
|
<link rel="modulepreload" crossorigin href="/assets/acebuilds-fbc0ccc6.js">
|
||||||
<link rel="modulepreload" crossorigin href="/assets/reactflow-c250d835.js">
|
<link rel="modulepreload" crossorigin href="/assets/reactflow-c250d835.js">
|
||||||
<link rel="modulepreload" crossorigin href="/assets/reactdrop-be699031.js">
|
<link rel="modulepreload" crossorigin href="/assets/reactdrop-be699031.js">
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export default function MainLayout() {
|
|||||||
}
|
}
|
||||||
</nav>
|
</nav>
|
||||||
<div className="absolute left-0 bottom-0 w-full p-2">
|
<div className="absolute left-0 bottom-0 w-full p-2">
|
||||||
<Link to={"https://lxm3ki8hexz.feishu.cn/wiki/space/7363217715992264708?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home"} target="_blank">
|
<Link to={"https://lxm3ki8hexz.feishu.cn/wiki/space/7374266943353815043?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home"} target="_blank">
|
||||||
<div className="flex justify-center items-center pb-[40px]" style={{flexDirection:"column"}}>
|
<div className="flex justify-center items-center pb-[40px]" style={{flexDirection:"column"}}>
|
||||||
<img src={shuoming} className="w-[20px]" alt="" />
|
<img src={shuoming} className="w-[20px]" alt="" />
|
||||||
<span className="text-[11px] mt-[7px]" style={{color:"#666666"}}>说明</span>
|
<span className="text-[11px] mt-[7px]" style={{color:"#666666"}}>说明</span>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ const apiRoutes = ["^/api/", "/health"];
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
// Use environment variable to determine the target.
|
// Use environment variable to determine the target.
|
||||||
// const target = process.env.VITE_PROXY_TARGET || "http://localhost:7860";
|
// const target = process.env.VITE_PROXY_TARGET || "http://localhost:7860";
|
||||||
const target = process.env.VITE_PROXY_TARGET || "http://npcall.ai:3101";
|
const target = process.env.VITE_PROXY_TARGET || "http://npcall.ai:3003";
|
||||||
// const target = process.env.VITE_PROXY_TARGET || "http://172.30.40.241:7866";
|
// const target = process.env.VITE_PROXY_TARGET || "http://172.30.40.241:7866";
|
||||||
|
|
||||||
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
|
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user