This commit is contained in:
jiangyong27 2024-01-29 11:59:50 +08:00
parent b0877d1f86
commit 5ad5abb6a7
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func (s *Qiniu) Url(objectName string, expire time.Duration) string {
return "" return ""
} }
domain := "http://" + domains[0].Domain domain := "https://" + domains[0].Domain
if expire == 0 { if expire == 0 {
return storage.MakePublicURLv2(domain, objectName) return storage.MakePublicURLv2(domain, objectName)
} else { } else {