From 41cfe33b8d7b54de604039b1bf3776477cf37097 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 27 Jul 2021 15:33:57 -0700 Subject: [PATCH] Fix typo of missing colon --- controllers/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/index.go b/controllers/index.go index bfc54fd0d..81e508a27 100644 --- a/controllers/index.go +++ b/controllers/index.go @@ -97,7 +97,7 @@ func handleScraperMetadataPage(w http.ResponseWriter, r *http.Request) { // If the thumbnail does not exist or we're offline then just use the logo image var thumbnailURL string if status.Online && utils.DoesFileExists(filepath.Join(config.WebRoot, "thumbnail.jpg")) { - thumbnail, err := url.Parse(fmt.Sprintf("%s//%s%s", scheme, r.Host, "/thumbnail.jpg")) + thumbnail, err := url.Parse(fmt.Sprintf("%s://%s%s", scheme, r.Host, "/thumbnail.jpg")) if err != nil { log.Errorln(err) thumbnailURL = imageURL.String()