From 5199dbb6e5c9da9e5f9915310c8f94a42fbe095e Mon Sep 17 00:00:00 2001 From: zhangkai <17600160566@163.com> Date: Tue, 16 Jul 2024 13:34:21 +0800 Subject: [PATCH] 1 --- .DS_Store | Bin 10244 -> 10244 bytes build/index.html | 2 +- src/layout/MainLayout.tsx | 2 +- vite.config.ts | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 0a9fe69c9283ada49eec3f85a52324f4088f3d3d..b9ff8c584e955d803a0398abb09cf0903b415db9 100644 GIT binary patch delta 30 mcmZn(XbIThFEBYusC2Tgg!^V5!QXtF*%W@WY-SQ=W(EMO-wEsh delta 42 ycmZn(XbIThFEBYqtdzsl+(bvg$jEZ?X#ttZU&T~5a|{0F+sv-;i)E82Gcy1zQVom% diff --git a/build/index.html b/build/index.html index 94b8835..bc9eb26 100644 --- a/build/index.html +++ b/build/index.html @@ -8,7 +8,7 @@ NPCs - + diff --git a/src/layout/MainLayout.tsx b/src/layout/MainLayout.tsx index 905ec43..a4f7e4b 100755 --- a/src/layout/MainLayout.tsx +++ b/src/layout/MainLayout.tsx @@ -59,7 +59,7 @@ export default function MainLayout() { }
- +
说明 diff --git a/vite.config.ts b/vite.config.ts index 9694a1b..3ae5fe7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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) => {