Skip to content

Commit 92f396d

Browse files
committed
chore(quark_uc): webdav_policy default to native_proxy
1 parent 9557834 commit 92f396d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/quark_uc/driver.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ func (d *QuarkOrUC) GetAddition() driver.Additional {
3737
func (d *QuarkOrUC) Init(ctx context.Context) error {
3838
_, err := d.request("/config", http.MethodGet, nil, nil)
3939
if err == nil {
40-
if d.AdditionVersion != 1 {
41-
d.AdditionVersion = 1
42-
if !d.UseTransCodingAddress {
40+
if d.AdditionVersion != 2 {
41+
d.AdditionVersion = 2
42+
if !d.UseTransCodingAddress && len(d.DownProxyUrl) == 0 {
4343
d.WebProxy = true
44+
d.WebdavPolicy = "native_proxy"
4445
}
4546
}
4647
}

0 commit comments

Comments
 (0)