1
0
Fork 0
forked from mirrors/akkoma

reversed the reverse and made a whitelist blacklist white again

This commit is contained in:
ulith 2025-01-18 01:34:22 +13:00
parent 0af8e93135
commit cc1dbe62cc

View file

@ -52,7 +52,7 @@ defmodule Pleroma.Web.MediaProxy do
@spec url_proxiable?(String.t()) :: boolean() @spec url_proxiable?(String.t()) :: boolean()
def url_proxiable?(url) do def url_proxiable?(url) do
not local?(url) and not whitelisted?(url) and not blocked?(url) not local?(url) and whitelisted?(url) and not blocked?(url)
end end
def preview_url(url, preview_params \\ []) do def preview_url(url, preview_params \\ []) do