diff --git a/cmd/root.go b/cmd/root.go index 63790b4..d9267b3 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,7 +17,7 @@ var ( ) const ( - Version string = "0.59.0" + Version string = "0.59.1" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 43c2bd7..1d93e58 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -1098,6 +1098,10 @@ func ServePage(args []string) error { return errors.New("no supported files found in provided paths") } + if russian { + fmt.Printf("WARNING! Files *will* be deleted after serving!\n\n") + } + rand.New(rand.NewSource(time.Now().UnixNano())) mux := httprouter.New() @@ -1179,10 +1183,6 @@ func ServePage(args []string) error { mux.HandlerFunc("GET", "/debug/pprof/trace", pprof.Trace) } - if russian { - fmt.Printf("WARNING! Files *will* be deleted after serving!\n\n") - } - if statistics { if statisticsFile != "" { stats.Import(statisticsFile)