diff --git a/cmd/version.go b/cmd/version.go index 805e184..90687e8 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -var Version = "0.19.0" +var Version = "0.19.1" func init() { rootCmd.AddCommand(versionCmd) diff --git a/cmd/web.go b/cmd/web.go index 75a45dd..b286b4f 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -252,8 +252,6 @@ func serveHtmlHandler(paths []string, re regexp.Regexp, fileCache *[]string) app if Filter { filters.Includes = splitQueryParams(r.URL.Query().Get("include")) filters.Excludes = splitQueryParams(r.URL.Query().Get("exclude")) - } else { - fmt.Println("Filters disabled") } sortOrder := "" @@ -401,7 +399,6 @@ func serveHtmlHandler(paths []string, re regexp.Regexp, fileCache *[]string) app preparePath(filePath), generateQueryParams(&filters, sortOrder), ) - fmt.Printf("New URL is %v\n", newUrl) http.Redirect(w, r, newUrl, RedirectStatusCode) case r.URL.Path == "/": filePath, err := pickFile(paths, &filters, sortOrder, fileCache)