This commit is contained in:
zhangkai
2024-06-22 18:34:39 +08:00
parent fb39b66431
commit 1c07d4b9df
72 changed files with 4283 additions and 2158 deletions

View File

@@ -8,6 +8,7 @@ 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://172.30.40.241:7866";
const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
proxyObj[route] = {