From 03389a58e249cad1984958d7dde6294f422ad281 Mon Sep 17 00:00:00 2001 From: JiangSheng Date: Thu, 25 Dec 2025 11:31:28 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"update:=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2d15f967a83ed2345b556430aaa3a4083360b490. --- vite.config.ts | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 050b45f..5d60804 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -34,8 +34,8 @@ export default defineConfig(({ mode }) => { '/local7101': { // target: 'http://192.168.65.199:7101', // 李东洋 // target: 'http://192.168.65.75:7100/simulation/project', // 朱欣茹 - target: 'http://192.168.190.161:3000/api/simulation/project', // 开发环境 - // target: 'http://192.168.190.161', // 生产环境 + target: 'http://192.168.65.161:3000/api/simulation/project', // 开发环境 + // target: 'http://192.168.65.161', // 开发环境 // target: 'http://192.168.65.73:7100', // 开发环境 // target: 'http://192.168.65.53:8080', // 戴琼瑶本地 // target: 'http://192.168.65.53:8080', // 顾龙成本地 @@ -45,9 +45,9 @@ export default defineConfig(({ mode }) => { '/local7102': { // taskPool工况库模块 // target: 'http://192.168.65.199:7102', // 李东洋 - target: 'http://192.168.190.161:3000/api/simulation/task', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/task', // 开发环境 // target: 'http://192.168.65.75:7100/simulation/task', // 朱欣茹 - // target: 'http://192.168.190.161', // 生产环境 + // target: 'http://192.168.65.161', // 开发环境 // target: 'http://192.168.65.73:7100', // 开发环境 // target: 'http://192.168.65.53:8080/simulation', // 戴琼瑶本地 // target: 'http://192.168.65.53:8080', // 顾龙成本地 @@ -57,7 +57,7 @@ export default defineConfig(({ mode }) => { '/local7103': { // system系统模块 // target: 'http://192.168.65.199:7103', // 李东洋 - target: 'http://192.168.190.161:3000/api/simulation/system', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/system', // 开发环境 // target: 'http://192.168.65.75:7100/simulation/system', // 朱欣茹 changeOrigin: true, // rewrite: (path) => path.replace(/^\/local7103/, ''), @@ -68,29 +68,28 @@ export default defineConfig(({ mode }) => { '/local7104': { // data文件模块 // target: 'http://192.168.65.199:7104', // 李东洋 - target: 'http://192.168.190.161:3000/api/simulation/data', // 开发环境 - // target: 'http://192.168.190.161', // 生产环境 + target: 'http://192.168.65.161:3000/api/simulation/data', // 开发环境 + // target: 'http://192.168.65.161', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7104/, ''), }, '/local7105': { // pds模块 - target: 'http://192.168.190.161:3000/api/simulation/pbs', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/pbs', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7105/, ''), }, '/local7107': { // capability模块 // target: 'http://192.168.65.199:7104', // 李东洋 - target: 'http://192.168.190.161:3000/api/simulation/capability', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/capability', // 开发环境 // target: 'http://192.168.65.219:7107', // 戴琼瑶本地 - // target: 'http://192.168.190.161', // 生产环境 + // target: 'http://192.168.65.161', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7107/, ''), }, - '/local7108': { - // data文件模块 - target: 'http://192.168.190.161:3000/api/simulation/flowable', // 开发环境 + '/local7108': { // data文件模块 + target: 'http://192.168.65.161:3000/api/simulation/flowable', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7108/, ''), },