diff --git a/cmd/root.go b/cmd/root.go index d9389fe..ef63dd6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -12,7 +12,7 @@ import ( ) const ( - ReleaseVersion string = "2.0.3" + ReleaseVersion string = "2.0.4" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 8239d03..b7cc893 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -385,13 +385,6 @@ func redirectRoot() httprouter.Handle { } func ServePage(args []string) error { - if Verbose { - fmt.Printf("%s | START: roulette v%s\n", - time.Now().Format(logDate), - ReleaseVersion, - ) - } - timeZone := os.Getenv("TZ") if timeZone != "" { var err error @@ -401,6 +394,13 @@ func ServePage(args []string) error { } } + if Verbose { + fmt.Printf("%s | START: roulette v%s\n", + time.Now().Format(logDate), + ReleaseVersion, + ) + } + bindHost, err := net.LookupHost(Bind) if err != nil { return err