From 410d68c849410b4aa28be97bf60eb3af77641aa1 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 08 八月 2023 11:12:47 +0800 Subject: [PATCH] yxh --- vue.config.js | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/vue.config.js b/vue.config.js index cd9a916..eab82c3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -32,13 +32,14 @@ open: true, 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`, + [process.env.VUE_APP_BASE_API]: { + target:`http://localhost:8080`, + // target:`http://116.62.18.175:8080`, + // target:`http://192.168.1.4:8086`, + // 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