Removed extraneous double quote in html generator

This commit is contained in:
Seednode 2022-09-25 17:33:25 -05:00
parent 8e1ab46302
commit 7fe46868c5
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
)
var Version = "0.12.2"
var Version = "0.12.3"
func init() {
rootCmd.AddCommand(versionCmd)

View File

@ -54,7 +54,7 @@ func serveHtml(w http.ResponseWriter, r http.Request, filePath string) error {
htmlBody += `</title>
</head>
<body>`
htmlBody += fmt.Sprintf(`"<a href="/?f=%v&s=%v"><img src="`, r.URL.Query().Get("f"), r.URL.Query().Get("s"))
htmlBody += fmt.Sprintf(`<a href="/?f=%v&s=%v"><img src="`, r.URL.Query().Get("f"), r.URL.Query().Get("s"))
htmlBody += PREFIX + filePath
htmlBody += `"></img></a>
</body>