mirror of
https://github.com/beego/bee.git
synced 2024-12-23 01:30:50 +00:00
Fix EnableAdmin error in fix rules
1. "EnableAdmin" should be replaced by "BConfig.Listen.EnableAdmin", instead of "BConfig.Listen.AdminEnable"
This commit is contained in:
parent
7322451c91
commit
6b9bc5debf
2
fix.go
2
fix.go
@ -72,7 +72,7 @@ var rules = []string{
|
||||
"beego.HttpsPort", "beego.BConfig.Listen.HTTPSPort",
|
||||
"beego.HttpCertFile", "beego.BConfig.Listen.HTTPSCertFile",
|
||||
"beego.HttpKeyFile", "beego.BConfig.Listen.HTTPSKeyFile",
|
||||
"beego.EnableAdmin", "beego.BConfig.Listen.AdminEnable",
|
||||
"beego.EnableAdmin", "beego.BConfig.Listen.EnableAdmin",
|
||||
"beego.AdminHttpAddr", "beego.BConfig.Listen.AdminAddr",
|
||||
"beego.AdminHttpPort", "beego.BConfig.Listen.AdminPort",
|
||||
"beego.UseFcgi", "beego.BConfig.Listen.EnableFcgi",
|
||||
|
Loading…
Reference in New Issue
Block a user