提交 526e6ce2 作者: nebv

fix: repair packaging error

上级 7150b3e2
......@@ -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] = {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论