fix(media): 七牛对象存储 - 支持无绑定域名通过后端代理读取
This commit is contained in:
1 parent
1c919991b0
commit
192cb12758
8 files changed
+130
-12
No files matched your search
@@ -490,9 +490,6 @@ func ossSettingFromRequest(req OSSSettingRequest, current ossSettingValue) (ossS
|
||||
return next, err
|
||||
}
|
||||
}
|
||||
if next.Provider == qiniuKodoProvider && next.CDNBaseURL == "" {
|
||||
return next, BadAuthRequest("请填写七牛云 Kodo 绑定域名")
|
||||
}
|
||||
if next.AccessKeyID == "" {
|
||||
return next, BadAuthRequest("请填写访问密钥 AccessKey")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user