mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +00:00
Add default empty whitelist
This commit is contained in:
parent
8b52ad0bef
commit
4fa597d569
|
@ -76,7 +76,7 @@ defmodule Pleroma.Web.MediaProxy do
|
||||||
|
|
||||||
mediaproxy_whitelist_domains =
|
mediaproxy_whitelist_domains =
|
||||||
[:media_proxy, :whitelist]
|
[:media_proxy, :whitelist]
|
||||||
|> Config.get()
|
|> Config.get([])
|
||||||
|> Kernel.++(["#{Upload.base_url()}"])
|
|> Kernel.++(["#{Upload.base_url()}"])
|
||||||
|> Enum.map(&maybe_get_domain_from_url/1)
|
|> Enum.map(&maybe_get_domain_from_url/1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue