commit: 4e6eb22b4af70e611cc61f94ba3d81758036a392
parent 967afa064bb0dc85c054495b795a57a13cdf3b3c
Author: Mark Felder <feld@FreeBSD.org>
Date: Fri, 21 Aug 2020 12:19:35 -0500
Try to warm the cache with the preview image if preview proxy enabled
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex b/lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex
@@ -27,7 +27,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy do
end
url
- |> MediaProxy.url()
+ |> MediaProxy.preview_url()
|> HTTP.get([], adapter: opts)
end