From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期日, 21 一月 2024 20:54:49 +0800 Subject: [PATCH] 优化 --- vue.config.js | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/vue.config.js b/vue.config.js index 7da1cd2..5671702 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,11 +39,10 @@ proxy: { // 璺ㄥ煙閰嶇疆 "/sccg": { - target: `http://42.193.1.25:8082`, - changeOrigin: true, - pathRewrite: { - "^/api": '' - } + // target: `http://42.193.1.25/`, //娴嬭瘯鐜 + // target: `http://111.1.140.92:28081/`, + target: `http://10.88.10.18:8082/`, + changeOrigin: true } }, // disableHostCheck: true @@ -97,14 +96,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