From 7c428310f2ee232db42b37543059b671ab723eda Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 03 十一月 2023 18:30:22 +0800 Subject: [PATCH] 11 --- vue.config.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index 9a4320e..6c60fdb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,10 +32,10 @@ open: true, proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy - [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, - //target: `https://slb.hospitalstar.com:9093`, - //target:`http://192.168.0.106:8080`, + [process.env.VUE_APP_BASE_API]: { + target:`http://localhost:8080`, + // target:`http://116.62.18.175:8080`, + // target:`https://slb.hospitalstar.com:9093`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.3