Check for media proxy base_url, not Upload base_url
This commit is contained in:
parent
8a59fde0e5
commit
7f7a1a4676
|
@ -114,7 +114,7 @@ defp get_proxy_and_attachment_sources do
|
|||
end)
|
||||
|
||||
media_proxy_base_url =
|
||||
if Config.get([Pleroma.Upload, :base_url]),
|
||||
if Config.get([:media_proxy, :base_url]),
|
||||
do: URI.parse(Config.get([:media_proxy, :base_url])).host
|
||||
|
||||
upload_base_url =
|
||||
|
|
Loading…
Reference in a new issue