Check for media proxy base_url, not Upload base_url

This commit is contained in:
Mark Felder 2020-06-11 11:05:22 -05:00
parent 8a59fde0e5
commit 7f7a1a4676
1 changed files with 1 additions and 1 deletions

View File

@ -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 =