Add default empty whitelist
This commit is contained in:
parent
8b52ad0bef
commit
4fa597d569
1 changed files with 1 additions and 1 deletions
|
@ -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