mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
Check for media proxy base_url, not Upload base_url
This commit is contained in:
parent
8a59fde0e5
commit
7f7a1a4676
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue