mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 13:20:56 +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 {
|
for p, f := range admin.routers {
|
||||||
http.Handle(p, f)
|
http.Handle(p, f)
|
||||||
}
|
}
|
||||||
BeeLogger.Info("Running on %s", addr)
|
BeeLogger.Info("Admin server Running on %s", addr)
|
||||||
err := http.ListenAndServe(addr, nil)
|
err := http.ListenAndServe(addr, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
BeeLogger.Critical("Admin ListenAndServe: ", err)
|
BeeLogger.Critical("Admin ListenAndServe: ", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user