提交 45ec4b3f 编写于 作者: H HFO4

Fix: wrong upload URL for cos policy

上级 d0718433
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册