Jelajahi Sumber

fix: repair packaging error

nebv 4 tahun lalu
induk
melakukan
526e6ce22b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      build/config/vite/proxy.ts

+ 1 - 1
build/config/vite/proxy.ts

@@ -2,7 +2,7 @@ type ProxyItem = [string, string];
 
 type ProxyList = ProxyItem[];
 
-export function createProxy(list: ProxyList) {
+export function createProxy(list: ProxyList = []) {
   const ret: any = {};
   for (const [prefix, target] of list) {
     ret[prefix] = {