diff --git a/vite.config.ts b/vite.config.ts index 5d60804..050b45f 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.65.161:3000/api/simulation/project', // 开发环境 - // target: 'http://192.168.65.161', // 开发环境 + target: 'http://192.168.190.161:3000/api/simulation/project', // 开发环境 + // target: 'http://192.168.190.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.65.161:3000/api/simulation/task', // 开发环境 + target: 'http://192.168.190.161:3000/api/simulation/task', // 开发环境 // target: 'http://192.168.65.75:7100/simulation/task', // 朱欣茹 - // target: 'http://192.168.65.161', // 开发环境 + // target: 'http://192.168.190.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.65.161:3000/api/simulation/system', // 开发环境 + target: 'http://192.168.190.161:3000/api/simulation/system', // 开发环境 // target: 'http://192.168.65.75:7100/simulation/system', // 朱欣茹 changeOrigin: true, // rewrite: (path) => path.replace(/^\/local7103/, ''), @@ -68,28 +68,29 @@ export default defineConfig(({ mode }) => { '/local7104': { // data文件模块 // target: 'http://192.168.65.199:7104', // 李东洋 - target: 'http://192.168.65.161:3000/api/simulation/data', // 开发环境 - // target: 'http://192.168.65.161', // 开发环境 + target: 'http://192.168.190.161:3000/api/simulation/data', // 开发环境 + // target: 'http://192.168.190.161', // 生产环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7104/, ''), }, '/local7105': { // pds模块 - target: 'http://192.168.65.161:3000/api/simulation/pbs', // 开发环境 + target: 'http://192.168.190.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.65.161:3000/api/simulation/capability', // 开发环境 + target: 'http://192.168.190.161:3000/api/simulation/capability', // 开发环境 // target: 'http://192.168.65.219:7107', // 戴琼瑶本地 - // target: 'http://192.168.65.161', // 开发环境 + // target: 'http://192.168.190.161', // 生产环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7107/, ''), }, - '/local7108': { // data文件模块 - target: 'http://192.168.65.161:3000/api/simulation/flowable', // 开发环境 + '/local7108': { + // data文件模块 + target: 'http://192.168.190.161:3000/api/simulation/flowable', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7108/, ''), },