mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-28 23:40:26 +08:00
WAF block动作默认封锁范围为global
This commit is contained in:
@@ -244,7 +244,7 @@ Vue.component("http-firewall-actions-box", {
|
|||||||
if (config.options.scope != null && config.options.scope.length > 0) {
|
if (config.options.scope != null && config.options.scope.length > 0) {
|
||||||
this.blockScope = config.options.scope
|
this.blockScope = config.options.scope
|
||||||
} else {
|
} else {
|
||||||
this.blockScope = "service" // 兼容先前版本遗留的默认值
|
this.blockScope = "global" // 兼容先前版本遗留的默认值
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case "allow":
|
case "allow":
|
||||||
|
|||||||
Reference in New Issue
Block a user