| applications/mobile-web-view/src/axios.js | ●●●●● patch | view | raw | blame | history | |
| applications/mobile-web-view/vite.config.mjs | ●●●●● patch | view | raw | blame | history |
applications/mobile-web-view/src/axios.js
@@ -42,6 +42,7 @@ isErrorShown = false if (VITE_APP_ENV === 'development') { config.url = VITE_APP_API + config.url console.log('请求地址:' + config.url) } else { config.url = VITE_APP_XT_URL + config.url } applications/mobile-web-view/vite.config.mjs
@@ -19,7 +19,7 @@ const { VITE_APP_ENV, VITE_APP_BASE, VITE_APP_API_URL, VITE_APP_XT_URL, VITE_APP_RECTANGLE, VITE_APP_ARCGIS_URL, VITE_APP_MAP_TILE_URL, @@ -112,7 +112,7 @@ }, '/api': { target: VITE_APP_API_URL, target: VITE_APP_XT_URL, changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), }