From: Mark Felder Date: Fri, 21 Aug 2020 17:19:35 +0000 (-0500) Subject: Try to warm the cache with the preview image if preview proxy enabled X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4e6eb22b4af70e611cc61f94ba3d81758036a392;p=akkoma Try to warm the cache with the preview image if preview proxy enabled --- 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