From 2931ddbab0d13786354d026e53128fffcfb67a2c Mon Sep 17 00:00:00 2001 From: liaoboping <344114999@qq.com> Date: Fri, 19 Sep 2025 11:44:26 +0800 Subject: [PATCH] 53 --- .env.development | 4 +++- .env.one | 4 +++- vue.config.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 926ea71..8af7470 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,6 @@ NODE_ENV=development VUE_APP_PREVIEW=true VUE_APP_API_BASE_URL=/api -VUE_APP_API_URL=http://192.168.0.189:8099 +VUE_APP_API_URL=http://192.168.0.53:8099 +VUE_APP_MAP_BASE_URL=/map +VUE_APP_MAP_URL=http://127.0.0.1:8090 diff --git a/.env.one b/.env.one index 942917e..13d24b2 100644 --- a/.env.one +++ b/.env.one @@ -1,5 +1,7 @@ NODE_ENV=one VUE_APP_PREVIEW=true +VUE_APP_PORT=8001 VUE_APP_API_BASE_URL=/api VUE_APP_API_URL=http://192.168.0.225:8099 -VUE_APP_PORT=8001 +VUE_APP_MAP_BASE_URL=/map +VUE_APP_MAP_URL=http://127.0.0.1:8090 diff --git a/vue.config.js b/vue.config.js index 335543c..8b23bf5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -122,7 +122,7 @@ const vueConfig = { }, }, '/map': { - target: 'http://192.168.0.53:8090/', + target: process.env.VUE_APP_MAP_URL + '/', ws: false, changeOrigin: true, pathRewrite: {