From fbe79c4dfc487954544d4dc134d4f8c989105d62 Mon Sep 17 00:00:00 2001 From: yangsy Date: Thu, 18 Dec 2025 22:04:30 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20vite=E4=BB=A3=E7=90=86=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 33f4e66..a9b6388 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -105,12 +105,13 @@ const line10ApiProxyList: ProxyItem[] = [ const apiProxyList: ProxyItem[] = [ // { key: '/minio', target: 'http://10.15.128.10:9000', rewrite: ['/minio', ''] }, // { key: '/api', target: 'http://10.15.128.10:18760' }, + // { key: '/ws', target: 'ws://10.15.128.10:18103', ws: true }, + ...line04ApiProxyList, + { key: '/minio', target: 'http://10.18.128.10:9000', rewrite: ['/minio', ''] }, { key: '/api', target: 'http://10.18.128.10:18760' }, - ...line04ApiProxyList, - ...line10ApiProxyList, - // { key: '/ws', target: 'ws://10.15.128.10:18103', ws: true }, { key: '/ws', target: 'ws://10.18.128.10:18103', ws: true }, + ...line10ApiProxyList, ]; // https://vite.dev/config/