Explorar o código

fix: repair packaging error

nebv %!s(int64=4) %!d(string=hai) anos
pai
achega
526e6ce22b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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] = {