diff --git a/app/post_metadata.go b/app/post_metadata.go index d3ebe10675..fa1593d852 100644 --- a/app/post_metadata.go +++ b/app/post_metadata.go @@ -364,7 +364,7 @@ func (a *App) getLinkMetadata(requestURL string, timestamp int64, isNewPost bool // /api/v4/image requires authentication, so bypass the API by hitting the proxy directly body, contentType, err = a.ImageProxy.GetImageDirect(a.ImageProxy.GetUnproxiedImageURL(request.URL.String())) } else { - request.Header.Add("Accept", "text/html, image/*") + request.Header.Add("Accept", "image/*, text/html") client := a.HTTPService.MakeClient(false) client.Timeout = time.Duration(*a.Config().ExperimentalSettings.LinkMetadataTimeoutMilliseconds) * time.Millisecond