Skip to content

Commit 14076d5

Browse files
lingqi7xxx
andauthored
fix config param UseHttp invalid (#78)
Co-authored-by: xxx <[email protected]>
1 parent 493a03f commit 14076d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upyun/upyun.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func NewUpYun(config *UpYunConfig) *UpYun {
3838
up.Password = md5Str(config.Password)
3939
up.Secret = config.Secret
4040
up.Hosts = config.Hosts
41+
up.UseHTTP = config.UseHTTP
4142
if config.UserAgent != "" {
4243
up.UserAgent = config.UserAgent
4344
} else {

0 commit comments

Comments
 (0)