mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 05:25:58 +03:00
Fix typo of missing colon
This commit is contained in:
parent
109d2669ab
commit
41cfe33b8d
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue