Skip to content

Commit

Permalink
fix config param UseHttp invalid (#78)
Browse files Browse the repository at this point in the history
Co-authored-by: xxx <[email protected]>
  • Loading branch information
lingqi7 and xxx authored Jan 6, 2023
1 parent 493a03f commit 14076d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upyun/upyun.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewUpYun(config *UpYunConfig) *UpYun {
up.Password = md5Str(config.Password)
up.Secret = config.Secret
up.Hosts = config.Hosts
up.UseHTTP = config.UseHTTP
if config.UserAgent != "" {
up.UserAgent = config.UserAgent
} else {
Expand Down

0 comments on commit 14076d5

Please sign in to comment.