Add default empty whitelist
Some checks failed
ci/woodpecker/push/build-amd64 Pipeline is pending
ci/woodpecker/push/build-arm64 Pipeline is pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
ci/woodpecker/pr/build-amd64 unknown status
Some checks failed
ci/woodpecker/push/build-amd64 Pipeline is pending
ci/woodpecker/push/build-arm64 Pipeline is pending
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/docs unknown status
ci/woodpecker/pr/build-amd64 unknown status
This commit is contained in:
parent
8b52ad0bef
commit
4fa597d569
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def whitelisted?(url) 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