Try to warm the cache with the preview image if preview proxy enabled

This commit is contained in:
Mark Felder 2020-08-21 12:19:35 -05:00
parent 967afa064b
commit 4e6eb22b4a

View File

@ -27,7 +27,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy do
end
url
|> MediaProxy.url()
|> MediaProxy.preview_url()
|> HTTP.get([], adapter: opts)
end