diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-08-21 12:19:35 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-08-21 12:19:35 -0500 |
commit | 4e6eb22b4af70e611cc61f94ba3d81758036a392 (patch) | |
tree | 6e932a2b5e2ac7305715a262f840c7c22b70706d | |
parent | 967afa064bb0dc85c054495b795a57a13cdf3b3c (diff) | |
download | pleroma-4e6eb22b4af70e611cc61f94ba3d81758036a392.tar.gz |
Try to warm the cache with the preview image if preview proxy enabled
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/media_proxy_warming_policy.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 index dfab105a3..5d8bb72aa 100644 --- 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 |