🐛 fix aliyundrive webdav delete and upload

This commit is contained in:
微凉
2021-12-07 16:32:59 +08:00
parent 03580fd76c
commit 43e4928bb9
3 changed files with 31 additions and 12 deletions

View File

@ -81,6 +81,8 @@ func GetDrivers() map[string][]Item {
}
var NoRedirectClient *resty.Client
//var BaseClient = resty.New()
var BaseHttpClient = &http.Client{}
func init() {
NoRedirectClient = resty.New().SetRedirectPolicy(