mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
Try to warm the cache with the preview image if preview proxy enabled
This commit is contained in:
parent
967afa064b
commit
4e6eb22b4a
|
@ -27,7 +27,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy do
|
||||||
end
|
end
|
||||||
|
|
||||||
url
|
url
|
||||||
|> MediaProxy.url()
|
|> MediaProxy.preview_url()
|
||||||
|> HTTP.get([], adapter: opts)
|
|> HTTP.get([], adapter: opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue