Skip to content

Commit

Permalink
fix: webdav_policy default value
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jul 23, 2022
1 parent 9d92834 commit 4691142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/operations/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ func getMainItems(config driver.Config) []driver.Item {
Name: "webdav_policy",
Type: conf.TypeSelect,
Values: "302_redirect, use_proxy_url, native_proxy",
Default: "direct",
Default: "302_redirect",
Required: true,
},
}...)
} else {
items = append(items, driver.Item{
Name: "webdav_policy",
Type: conf.TypeSelect,
Default: "",
Default: "native_proxy",
Values: "use_proxy_url, native_proxy",
Required: true,
})
Expand Down

0 comments on commit 4691142

Please sign in to comment.