1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-25 08:55:06 +01:00

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 =