Fixed hyperlinks in /html endpoint
This commit is contained in:
parent
1df552bc1e
commit
3d8d4c3869
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version string = "0.51.0"
|
Version string = "0.51.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -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>`)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue