From: Mark Felder Date: Thu, 11 Jun 2020 16:05:22 +0000 (-0500) Subject: Check for media proxy base_url, not Upload base_url X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7f7a1a467677471e0e1ec688e4eca9ba759d976a;p=akkoma Check for media proxy base_url, not Upload base_url --- diff --git a/lib/pleroma/plugs/http_security_plug.ex b/lib/pleroma/plugs/http_security_plug.ex index 620408d0f..1420a9611 100644 --- a/lib/pleroma/plugs/http_security_plug.ex +++ b/lib/pleroma/plugs/http_security_plug.ex @@ -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 =