Commit 7f7a1a46 authored by feld's avatar feld
Browse files

Check for media proxy base_url, not Upload base_url

parent 8a59fde0
Pipeline #27104 passed with stages
in 9 minutes and 22 seconds
...@@ -114,7 +114,7 @@ defp get_proxy_and_attachment_sources do ...@@ -114,7 +114,7 @@ defp get_proxy_and_attachment_sources do
end) end)
media_proxy_base_url = 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 do: URI.parse(Config.get([:media_proxy, :base_url])).host
upload_base_url = upload_base_url =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment