From 3e98201cddbee96e83fe120fad0a24229b331aac Mon Sep 17 00:00:00 2001 From: Seednode Date: Wed, 9 Nov 2022 23:53:02 -0600 Subject: [PATCH] Removed extraneous tag and added doctype tag --- cmd/version.go | 2 +- cmd/web.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index c7f2146..3799a63 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -var Version = "0.24.1" +var Version = "0.24.2" func init() { rootCmd.AddCommand(versionCmd) diff --git a/cmd/web.go b/cmd/web.go index 783b89e..4e6c8d0 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -201,7 +201,7 @@ func serveHtml(w http.ResponseWriter, r *http.Request, filePath string, dimensio queryParams, err := generateQueryParams(filters, r.URL.Query().Get("sort"), refreshInterval) var htmlBody strings.Builder - htmlBody.WriteString(``) + htmlBody.WriteString(``) htmlBody.WriteString(``) htmlBody.WriteString(fmt.Sprintf(`%v (%vx%v)`, @@ -209,7 +209,7 @@ func serveHtml(w http.ResponseWriter, r *http.Request, filePath string, dimensio dimensions.Width, dimensions.Height)) htmlBody.WriteString(``) - htmlBody.WriteString(fmt.Sprintf(`Roulette selected: %v`, + htmlBody.WriteString(fmt.Sprintf(`Roulette selected: %v`, queryParams, generateFilePath(filePath), dimensions.Width,