https
This commit is contained in:
parent
b0877d1f86
commit
5ad5abb6a7
|
@ -167,7 +167,7 @@ func (s *Qiniu) Url(objectName string, expire time.Duration) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
domain := "http://" + domains[0].Domain
|
||||
domain := "https://" + domains[0].Domain
|
||||
if expire == 0 {
|
||||
return storage.MakePublicURLv2(domain, objectName)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue