support native proxy url

This commit is contained in:
微凉
2021-12-10 15:55:21 +08:00
parent 511efce624
commit 2f8258053f
3 changed files with 10 additions and 13 deletions

View File

@ -84,16 +84,13 @@ func GetDrivers() map[string][]Item {
},
}, v.Items()...)
}
// 不支持给本地文件添加中转
if v.Config().Name != "Native" {
res[k] = append(res[k], Item{
Name: "proxy_url",
Label: "proxy_url",
Type: TypeString,
Required: false,
Description: "proxy url",
})
}
res[k] = append(res[k], Item{
Name: "proxy_url",
Label: "proxy_url",
Type: TypeString,
Required: false,
Description: "proxy url",
})
}
return res
}