修改无锡测试bug

This commit is contained in:
guanj
2025-10-27 08:55:54 +08:00
parent 7c8917a2cd
commit ea14a290b7
17 changed files with 556 additions and 201 deletions

View File

@@ -41,6 +41,7 @@ export default ({ command, mode }) => {
base: "./",
server: {
host: "127.0.0.1",
allowedHosts: true,
port: 4000, // 设置服务启动端口号
// port: Number(loadEnv(mode, process.cwd()).VITE_APP_PORT),
@@ -53,11 +54,10 @@ export default ({ command, mode }) => {
proxy: {
"/api": {
// target: "http://192.168.1.63/api/",
// target: "http://192.168.1.133:4000/api/",
//target: "http://192.168.1.62:10215",
target: 'http://192.168.1.127:18093', //cdf
// target: 'http://192.168.1.63/api', //cdf
// target: 'http://192.168.1.130:18093', //cdf
// target: "http://192.168.1.133:18093",
//target: "http://192.168.1.62:10215",
// target: 'http://192.168.1.127:18093', //cdf
target: "http://192.168.1.103:19001", //cdf
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api/, ""),