forked from mirrors/akkoma
reversed the reverse and made a whitelist blacklist white again
This commit is contained in:
parent
0af8e93135
commit
cc1dbe62cc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue