From 9827eddae2225f7367e150bb70f647375f4ba098 Mon Sep 17 00:00:00 2001 From: yangsy Date: Fri, 29 May 2026 23:34:44 +0800 Subject: [PATCH] =?UTF-8?q?build(proxy):=20=E6=B7=BB=E5=8A=A0=E5=86=85?= =?UTF-8?q?=E7=BD=91=E5=90=8E=E7=AB=AF=E4=BB=A3=E7=90=86=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增一条注释的内网后端代理配置,方便团队成员快速切换开发后端服务地址 --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index e29e468..c7bbe4e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -215,6 +215,7 @@ const apiProxyList: ProxyItem[] = [ // { key: '/vimp/api', target: 'http://10.14.0.10:18080', rewrite: ['/vimp/api', '/api'] }, // { key: '/vimp/api', target: 'http://10.18.128.6:18080', rewrite: ['/vimp/api', '/api'] }, { key: '/vimp/api', target: 'http://localhost:4000', rewrite: ['/vimp/api', '/api'] }, + // { key: '/vimp/api', target: 'http://10.24.17.6:18080', rewrite: ['/vimp/api', '/api'] }, // { key: '/vimp/api', target: 'http://10.18.128.6:18080', rewrite: ['/vimp/api', '/api'] }, { key: '/cdn', target: `http://localhost:${SERVER_PORT}`, rewrite: ['/cdn', ''] }, ];