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

View file

@ -114,7 +114,7 @@ defmodule Pleroma.Plugs.HTTPSecurityPlug 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 =