From 540d237a0a76e5fb06fbccf6407f0d573dca99bb Mon Sep 17 00:00:00 2001 From: huanghao1412 Date: Thu, 11 Jan 2024 10:24:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxyConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxyConfig.ts b/proxyConfig.ts index 27f4c06e..9d3ed996 100644 --- a/proxyConfig.ts +++ b/proxyConfig.ts @@ -39,9 +39,9 @@ const devProxy = (mode:any) => { } // 这里是生产环境的代理配置 -/* const prodProxy = (mode:any) => { return { + /* // 生产list页缩略图 开发时注释掉 '/svgConfig/customLargeScreen/data/file': { // @ts-ignore @@ -55,9 +55,9 @@ const prodProxy = (mode:any) => { ws: true, secure: true, }, + */ } } - */ // 根据环境变量导出相应的配置 export const proxyConfig = process.env.NODE_ENV === 'production' ? prodProxy : devProxy;