From 4acc0fb0d27d9bd959e6d4bf6b2ab2702b1b4e42 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 29 七月 2024 18:18:41 +0800 Subject: [PATCH] 11 --- vue.config.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index cd9a916..10254cf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -33,12 +33,13 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - //target: `http://192.168.2.3:8080`, - //target: `https://slb.hospitalstar.com:9093`, - target:`http://www.hxsoft.com:8085`, + target:`http://localhost:8080`, + // target:`http://192.168.2.8:8080`, + // target:`http://116.62.18.175:8080`, + // target:`https://slb.hospitalstar.com:9093`, changeOrigin: true, pathRewrite: { - ['^' + process.env.VUE_APP_BASE_API]: 'ruoyi-admin/prod-api' + ['^' + process.env.VUE_APP_BASE_API]: '' } } }, -- Gitblit v1.9.3