From 3d8d4c3869717ad7dc3749880702d14fda93d5b0 Mon Sep 17 00:00:00 2001 From: Seednode Date: Sat, 3 Jun 2023 18:14:53 -0500 Subject: [PATCH] Fixed hyperlinks in /html endpoint --- cmd/root.go | 2 +- cmd/web.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 12d05ad..93c7371 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -11,7 +11,7 @@ import ( ) const ( - Version string = "0.51.0" + Version string = "0.51.1" ) var ( diff --git a/cmd/web.go b/cmd/web.go index 5d8d789..95684f3 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -677,7 +677,7 @@ func serveDebugHtml(args []string, index *Index) httprouter.Handle { if sorting { shouldSort = "?sort=asc" } - htmlBody.WriteString(fmt.Sprintf("%s\n", v, shouldSort, v)) + htmlBody.WriteString(fmt.Sprintf("%s\n", ImagePrefix, v, shouldSort, v)) } htmlBody.WriteString(``)