diff --git a/cmd/root.go b/cmd/root.go index a103b6e..84d4a21 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -11,7 +11,7 @@ import ( ) const ( - Version string = "0.57.0" + Version string = "0.57.1" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 08182a8..2f8049c 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -1056,7 +1056,7 @@ func ServePage(args []string) error { mux.GET("/version", serveVersion()) srv := &http.Server{ - Addr: net.JoinHostPort(bind, strconv.FormatInt(int64(port), 10)), + Addr: net.JoinHostPort(bind, strconv.Itoa(int(port))), Handler: mux, IdleTimeout: 10 * time.Minute, ReadTimeout: 5 * time.Second,