diff --git a/.env.development b/.env.development index 7888047ce..e13266061 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,6 @@ NODE_ENV=development +# VUE_APP_API_SERVER = https://epmet-preview.elinkservice.cn/api VUE_APP_API_SERVER = http://localhost:8080/api # VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = http://219.146.91.110:30801/api diff --git a/vue.config.js b/vue.config.js index 1bd675a55..265a56135 100644 --- a/vue.config.js +++ b/vue.config.js @@ -46,6 +46,7 @@ module.exports = { "/api": { // target: "http://219.146.91.110:30801", // 测试地址 target: "http://localhost:8080", // 本地地址 + // target: "https://epmet-preview.elinkservice.cn", // 演示地址 changeOrigin: true, pathRewrite: { "^api": "",