mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-12-15 10:04:01 +08:00
Fix: wrong upload URL for cos policy
This commit is contained in:
@@ -220,7 +220,7 @@ func (policy *Policy) GetUploadURL() string {
|
||||
case "oss":
|
||||
return "https://" + policy.BucketName + "." + policy.Server
|
||||
case "cos":
|
||||
return policy.BaseURL
|
||||
return policy.Server
|
||||
case "upyun":
|
||||
return "http://v0.api.upyun.com/" + policy.BucketName
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user