mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-02 01:37:04 +08:00
extension
This commit is contained in:
1 parent
f0f50579fc
commit
0c87b4119a
6 files changed
+29
-4
No files matched your search
@@ -45,6 +45,10 @@ func (s *BaseController) Prepare() {
|
||||
}
|
||||
s.Data["https_just_proxy"], _ = beego.AppConfig.Bool("https_just_proxy")
|
||||
s.Data["allow_user_login"], _ = beego.AppConfig.Bool("allow_user_login")
|
||||
s.Data["allow_flow_limit"], _ = beego.AppConfig.Bool("allow_flow_limit")
|
||||
s.Data["allow_rate_limit"], _ = beego.AppConfig.Bool("allow_rate_limit")
|
||||
s.Data["allow_connection_num_limit"], _ = beego.AppConfig.Bool("allow_connection_num_limit")
|
||||
s.Data["allow_multi_ip"], _ = beego.AppConfig.Bool("allow_multi_ip")
|
||||
}
|
||||
|
||||
//加载模板
|
||||
|
||||
Reference in new issue
Block a user