From b8f5f6cdf5c26db929b7cda0188c587eb8d66c1d Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期六, 18 三月 2023 17:42:51 +0800 Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0 --- vue.config.js | 16 +++------------- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/vue.config.js b/vue.config.js index 46b037b..9e2d8e8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,11 +39,9 @@ proxy: { // 璺ㄥ煙閰嶇疆 "/sccg": { - target: `http://42.193.1.25:8082`, - changeOrigin: true, - pathRewrite: { - "^/sccg": '' - } + // target: `http://42.193.1.25/`, //娴嬭瘯鐜 + target: `http://192.168.3.240:8082/`, + changeOrigin: true } }, // disableHostCheck: true @@ -97,14 +95,6 @@ config .when(process.env.NODE_ENV !== 'development', config => { - // config - // .plugin('ScriptExtHtmlWebpackPlugin') - // .after('html') - // .use('script-ext-html-webpack-plugin', [{ - // // `runtime` must same as runtimeChunk name. default is `runtime` - // inline: /runtime\..*\.js$/ - // }]) - // .end() config .optimization.splitChunks({ chunks: 'all', -- Gitblit v1.8.0