Commit 526e6ce22bf15cd04a09faf53a08ac43da491534

Authored by nebv
1 parent 7150b3e2

fix: repair packaging error

Showing 1 changed file with 1 additions and 1 deletions
build/config/vite/proxy.ts
... ... @@ -2,7 +2,7 @@ type ProxyItem = [string, string];
2 2  
3 3 type ProxyList = ProxyItem[];
4 4  
5   -export function createProxy(list: ProxyList) {
  5 +export function createProxy(list: ProxyList = []) {
6 6 const ret: any = {};
7 7 for (const [prefix, target] of list) {
8 8 ret[prefix] = {
... ...