add start.sh+bat
This commit is contained in:
parent
74ff217c7e
commit
587e6d8089
4 changed files with 13 additions and 2 deletions
3
web.go
3
web.go
|
@ -160,6 +160,7 @@ func runWeb(*cli.Context) {
|
|||
base.Cfg.MustValue("server", "HTTP_PORT", "3000"))
|
||||
log.Info("Listen: %s", listenAddr)
|
||||
if err := http.ListenAndServe(listenAddr, m); err != nil {
|
||||
log.Critical(err.Error())
|
||||
fmt.Println(err.Error())
|
||||
//log.Critical(err.Error()) // not working now
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue