From fdce3979b5e1a97433def22ad0b0d783143da2f3 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 15 三月 2024 11:45:30 +0800 Subject: [PATCH] 访问地址处理 --- vue.config.js | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/vue.config.js b/vue.config.js index 957682a..dd6fdf9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -39,7 +39,9 @@ proxy: { // 璺ㄥ煙閰嶇疆 "/sccg": { - target: `http://42.193.1.25:8082/`, + // target: `http://42.193.1.25/`, //娴嬭瘯鐜 + target: `http://111.1.140.92:28081/`, + // target: `http://10.88.10.18:8082/`, changeOrigin: true } }, @@ -94,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