1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-17 22:00:54 +00:00

fix a typo

This commit is contained in:
Pure White 2017-12-08 23:01:21 +08:00
parent bf5c5626ab
commit 619cd2d908
No known key found for this signature in database
GPG Key ID: 52BAD63FFE1AED3F

2
app.go
View File

@ -167,7 +167,7 @@ func (app *App) Run(mws ...MiddleWare) {
if BConfig.Listen.HTTPSPort != 0 { if BConfig.Listen.HTTPSPort != 0 {
app.Server.Addr = fmt.Sprintf("%s:%d", BConfig.Listen.HTTPSAddr, BConfig.Listen.HTTPSPort) app.Server.Addr = fmt.Sprintf("%s:%d", BConfig.Listen.HTTPSAddr, BConfig.Listen.HTTPSPort)
} else if BConfig.Listen.EnableHTTP { } else if BConfig.Listen.EnableHTTP {
BeeLogger.Info("Start https server error, confict with http.Please reset https port") BeeLogger.Info("Start https server error, conflict with http.Please reset https port")
return return
} }
logs.Info("https server Running on https://%s", app.Server.Addr) logs.Info("https server Running on https://%s", app.Server.Addr)