mirror of
https://github.com/astaxie/beego.git
synced 2024-12-26 00:50:49 +00:00
add some tips for the admin server start
This commit is contained in:
parent
716962672f
commit
10db97b193
2
admin.go
2
admin.go
@ -458,7 +458,7 @@ func (admin *adminApp) Run() {
|
||||
for p, f := range admin.routers {
|
||||
http.Handle(p, f)
|
||||
}
|
||||
BeeLogger.Info("Running on %s", addr)
|
||||
BeeLogger.Info("Admin server Running on %s", addr)
|
||||
err := http.ListenAndServe(addr, nil)
|
||||
if err != nil {
|
||||
BeeLogger.Critical("Admin ListenAndServe: ", err)
|
||||
|
Loading…
Reference in New Issue
Block a user