From 9baae924a68f888ea3e583086583d1a1c1ec3adf Mon Sep 17 00:00:00 2001 From: mzr <1562242162@qq.com> Date: Thu, 13 Mar 2025 19:32:49 +0800 Subject: [PATCH] =?UTF-8?q?spr=E4=BB=A3=E7=90=86=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/webpack.dev.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/webpack.dev.config.js b/config/webpack.dev.config.js index 068d4f4..a1a2332 100644 --- a/config/webpack.dev.config.js +++ b/config/webpack.dev.config.js @@ -83,6 +83,12 @@ module.exports = function(env, argv) { }, stats: 'errors-only', // 开启报错提示 proxy: { + '/nccloud/resources/spr':{ + target: configJSON.proxy, + pathRewrite:{ + '^/nccloud/resources/spr':'/spr' + } + }, // 请求代理 '/nccloud': { target: configJSON.proxy,