Fixed hyperlinks in /html endpoint

This commit is contained in:
Seednode 2023-06-03 18:14:53 -05:00
parent 1df552bc1e
commit 3d8d4c3869
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
) )
const ( const (
Version string = "0.51.0" Version string = "0.51.1"
) )
var ( var (

View File

@ -677,7 +677,7 @@ func serveDebugHtml(args []string, index *Index) httprouter.Handle {
if sorting { if sorting {
shouldSort = "?sort=asc" shouldSort = "?sort=asc"
} }
htmlBody.WriteString(fmt.Sprintf("<a href=\"%s%s\">%s</a>\n", v, shouldSort, v)) htmlBody.WriteString(fmt.Sprintf("<a href=\"%s%s%s\">%s</a>\n", ImagePrefix, v, shouldSort, v))
} }
htmlBody.WriteString(`</body></html>`) htmlBody.WriteString(`</body></html>`)