mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-18 09:15:18 +08:00
实现IP黑白名单、国家|地区封禁、省份封禁
This commit is contained in:
@@ -24,6 +24,14 @@ func (this *HTTPFirewallInboundConfig) Init() error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if this.Region != nil {
|
||||
err := this.Region.Init()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user