diff --git a/vite.config.ts b/vite.config.ts index f6de4fc..5d60804 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -34,7 +34,7 @@ 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/api/simulation/project', // 开发环境 + 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', // 戴琼瑶本地 @@ -45,7 +45,7 @@ export default defineConfig(({ mode }) => { '/local7102': { // taskPool工况库模块 // target: 'http://192.168.65.199:7102', // 李东洋 - target: 'http://192.168.65.161:80/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.65.161', // 开发环境 // target: 'http://192.168.65.73:7100', // 开发环境 @@ -57,7 +57,7 @@ export default defineConfig(({ mode }) => { '/local7103': { // system系统模块 // target: 'http://192.168.65.199:7103', // 李东洋 - target: 'http://192.168.65.161:80/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,28 +68,28 @@ export default defineConfig(({ mode }) => { '/local7104': { // data文件模块 // target: 'http://192.168.65.199:7104', // 李东洋 - target: 'http://192.168.65.161:80/api/simulation/data', // 开发环境 + 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.65.161:80/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.65.161:80/api/simulation/capability', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/capability', // 开发环境 // target: 'http://192.168.65.219:7107', // 戴琼瑶本地 // target: 'http://192.168.65.161', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7107/, ''), }, '/local7108': { // data文件模块 - target: 'http://192.168.65.161:80/api/simulation/flowable', // 开发环境 + target: 'http://192.168.65.161:3000/api/simulation/flowable', // 开发环境 changeOrigin: true, rewrite: (path) => path.replace(/^\/local7108/, ''), },