From 9bdd98576d24f37e297cc4d806bc5abaed280592 Mon Sep 17 00:00:00 2001 From: PLUTO <> Date: Thu, 26 Oct 2023 09:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=90=86=E5=88=B0=E6=8E=A9=E9=A5=B0?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + vue.config.js | 1 + 2 files changed, 2 insertions(+) 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": "",