fixed host printing

This commit is contained in:
emilis 2022-09-02 16:10:45 +01:00
parent 7090873611
commit 5313968fc1
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}