diff --git a/cmd/root.go b/cmd/root.go index a60e8db..6e0e24b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,7 +17,7 @@ var ( ) const ( - Version string = "0.58.0" + Version string = "0.58.1" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 1d77756..0e990b3 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -585,7 +585,7 @@ func serveStats(args []string, stats *ServeStats) httprouter.Handle { startTime := time.Now() - page, err := strconv.Atoi(r.URL.Query().Get("page")) + page, err := strconv.Atoi(p.ByName("page")) if err != nil || page == 0 { page = -1 }