This commit is contained in:
zhangkai
2024-07-16 13:34:21 +08:00
parent a71c43fa9a
commit 5199dbb6e5
4 changed files with 3 additions and 3 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -8,7 +8,7 @@
<link rel="icon" href="/favicon.ico" />
<script src="/node_modules/ace-builds/src-min-noconflict/ace.js" type="text/javascript"></script>
<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/reactflow-c250d835.js">
<link rel="modulepreload" crossorigin href="/assets/reactdrop-be699031.js">

View File

@@ -59,7 +59,7 @@ export default function MainLayout() {
}
</nav>
<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"}}>
<img src={shuoming} className="w-[20px]" alt="" />
<span className="text-[11px] mt-[7px]" style={{color:"#666666"}}></span>

View File

@@ -7,7 +7,7 @@ const apiRoutes = ["^/api/", "/health"];
import path from "path";
// 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://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 proxyTargets = apiRoutes.reduce((proxyObj, route) => {