forked from AkkomaGang/akkoma
Formatting
This commit is contained in:
parent
fa63f1b55b
commit
9887cdf9be
1 changed files with 8 additions and 8 deletions
|
@ -79,8 +79,8 @@ def whitelisted?(url) do
|
||||||
|> Config.get()
|
|> Config.get()
|
||||||
|> Enum.map(&maybe_get_domain_from_url/1)
|
|> Enum.map(&maybe_get_domain_from_url/1)
|
||||||
|
|
||||||
whitelist_domains =
|
whitelist_domains = base_url = Upload.base_url()
|
||||||
base_url = Upload.base_url()
|
|
||||||
if Web.base_url() == base_url do
|
if Web.base_url() == base_url do
|
||||||
mediaproxy_whitelist_domains
|
mediaproxy_whitelist_domains
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue