fix 4976: make admin serve HTTP only
This commit is contained in:
parent
af271bcc6e
commit
41cc57dcf2
@ -1,6 +1,7 @@
|
||||
# developing
|
||||
- [Fix issue 4961, `leafInfo.match()` use `path.join()` to deal with `wildcardValues`, which may lead to cross directory risk ](https://github.com/beego/beego/pull/4964)
|
||||
- [Fix 4975: graceful server listen the specific address](https://github.com/beego/beego/pull/4979)
|
||||
- [Fix 4976: make admin serve HTTP only](https://github.com/beego/beego/pull/4980)
|
||||
# v2.0.3
|
||||
- [upgrade redisgo to v1.8.8](https://github.com/beego/beego/pull/4872)
|
||||
- [fix prometheus CVE-2022-21698](https://github.com/beego/beego/pull/4878)
|
||||
|
||||
@ -101,6 +101,7 @@ func registerAdmin() error {
|
||||
|
||||
// copy config to avoid conflict
|
||||
adminCfg := *BConfig
|
||||
adminCfg.Listen.EnableHTTPS = false
|
||||
beeAdminApp = &adminApp{
|
||||
HttpServer: NewHttpServerWithCfg(&adminCfg),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user