mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Fix: panic while decompress files / Cannot edit policy
This commit is contained in:
@@ -222,7 +222,7 @@ func (policy *Policy) GetUploadURL() string {
|
||||
case "cos":
|
||||
return policy.Server
|
||||
case "upyun":
|
||||
return "http://v0.api.upyun.com/" + policy.BucketName
|
||||
return "https://v0.api.upyun.com/" + policy.BucketName
|
||||
default:
|
||||
controller, _ = url.Parse("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user