mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-18 16:16:25 +08:00
feat: add proxy_range option for 139Yun Alias AList V3 (#6496)
This commit is contained in:
@@ -93,6 +93,17 @@ func getMainItems(config driver.Config) []driver.Item {
|
||||
Required: true,
|
||||
},
|
||||
}...)
|
||||
if config.ProxyRangeOption {
|
||||
item := driver.Item{
|
||||
Name: "proxy_range",
|
||||
Type: conf.TypeBool,
|
||||
Help: "Need to enable proxy",
|
||||
}
|
||||
if config.Name == "139Yun" {
|
||||
item.Default = "true"
|
||||
}
|
||||
items = append(items, item)
|
||||
}
|
||||
} else {
|
||||
items = append(items, driver.Item{
|
||||
Name: "webdav_policy",
|
||||
|
||||
Reference in New Issue
Block a user