mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-05-01 04:05:19 +08:00
改进WAF策略的区域封禁
This commit is contained in:
@@ -41,6 +41,7 @@ func (this *ProvincesAction) RunGet(params struct {
|
||||
this.NotFound("firewallPolicy", params.FirewallPolicyId)
|
||||
return
|
||||
}
|
||||
|
||||
var deniedProvinceIds = []int64{}
|
||||
var allowedProvinceIds = []int64{}
|
||||
if policyConfig.Inbound != nil && policyConfig.Inbound.Region != nil {
|
||||
|
||||
Reference in New Issue
Block a user