From 84c2bfd27fa610fb42dd52b9f145ca2507230c18 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 14 七月 2023 16:05:12 +0800 Subject: [PATCH] yxh --- vue.config.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index 9a4320e..eaaf55f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,10 +32,11 @@ 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:`http://192.168.1.4:8080`, + // target: `https://slb.hospitalstar.com:9093`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' -- Gitblit v1.9.3