fix 4976: make admin serve HTTP only

This commit is contained in:
Deng Ming
2022-06-10 21:23:00 +08:00
parent af271bcc6e
commit 41cc57dcf2
2 changed files with 2 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ func registerAdmin() error {
// copy config to avoid conflict
adminCfg := *BConfig
adminCfg.Listen.EnableHTTPS = false
beeAdminApp = &adminApp{
HttpServer: NewHttpServerWithCfg(&adminCfg),
}