Skip to content

Commit

Permalink
fix: repair packaging error
Browse files Browse the repository at this point in the history
  • Loading branch information
vben-admin committed Oct 10, 2020
1 parent 7150b3e commit 526e6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/vite/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down

0 comments on commit 526e6ce

Please sign in to comment.