From 8539cd011187d85633204fc22a9c7fc7fd008605 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 22 八月 2023 09:57:09 +0800 Subject: [PATCH] Merge branch 'wulong' of http://116.62.18.175:6699/r/~yxh/smartor-web into yxh01 --- vue.config.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 77b3f39..ce7adcf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,8 @@ // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { target1: `http://192.168.1.4:8080`, - target: `http://localhost:8080`, + target: `http://192.168.1.4:8080`, + // target: `http://www.hxsoft.com:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' @@ -129,7 +130,7 @@ config.optimization.runtimeChunk('single'), { from: path.resolve(__dirname, './public/robots.txt'), //闃茬埇铏枃浠� - to: './' //鍒版牴鐩綍涓� + to: '/' //鍒版牴鐩綍涓� } } ) -- Gitblit v1.9.3