fixed host printing
This commit is contained in:
parent
7090873611
commit
5313968fc1
2
main.go
2
main.go
|
@ -31,6 +31,6 @@ func main() {
|
|||
GET("/", html.Index).
|
||||
Middleware(ws.LoggingMiddleware(log))
|
||||
|
||||
log.ColorBracket(0, logie.Colors().Background(logie.ColorWhite).Foreground(logie.ColorBlack)).Infof("Starting server on [%s]", host)
|
||||
log.ColorBracket(0, logie.Colors().Background(logie.ColorWhite).Foreground(logie.ColorBlack)).Infof("Starting server on [%s]", *host)
|
||||
log.Fatal(http.ListenAndServe(*host, router))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue