mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-18 17:38:07 +08:00
chore(quark_uc): webdav_policy
default to native_proxy
This commit is contained in:
@ -37,10 +37,11 @@ func (d *QuarkOrUC) GetAddition() driver.Additional {
|
||||
func (d *QuarkOrUC) Init(ctx context.Context) error {
|
||||
_, err := d.request("/config", http.MethodGet, nil, nil)
|
||||
if err == nil {
|
||||
if d.AdditionVersion != 1 {
|
||||
d.AdditionVersion = 1
|
||||
if !d.UseTransCodingAddress {
|
||||
if d.AdditionVersion != 2 {
|
||||
d.AdditionVersion = 2
|
||||
if !d.UseTransCodingAddress && len(d.DownProxyUrl) == 0 {
|
||||
d.WebProxy = true
|
||||
d.WebdavPolicy = "native_proxy"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user