fix: qcloud bucket refer

This commit is contained in:
Qu Xuan
2021-03-15 15:45:45 +08:00
parent 756e1c1b26
commit 113e2ab874
7 changed files with 68 additions and 37 deletions
+7 -4
View File
@@ -110,12 +110,15 @@ type SBucketCORSRule struct {
}
type SBucketRefererConf struct {
// 白名单域名列表
WhiteList []string
// 黑名单域名列表
BlackList []string
// 域名列表
DomainList []string
// 域名列表
// enmu: Black-List, White-List
RefererType string
// 是否允许空referer 访问
AllowEmptyRefer bool
Enabled bool
}
type SBucketPolicyStatement struct {