Skip to content

Commit

Permalink
fix:配置修改
Browse files Browse the repository at this point in the history
  • Loading branch information
QwQ-wuwuwu committed Jul 3, 2024
1 parent 4828d5b commit 9e9f5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy';
import svgr from "vite-plugin-svgr";

// Use environment variable to determine the target.
const target = process.env.VITE_PROXY_TARGET || "http://127.0.0.1:7861";
const target = process.env.VITE_PROXY_TARGET || "http://192.168.106.120:3003";
const apiRoutes = ["^/api/", "/health"];

const proxyTargets = apiRoutes.reduce((proxyObj, route) => {
Expand Down

0 comments on commit 9e9f5cc

Please sign in to comment.