From 4fa597d569b0a70e4b1ac06d550b84c746839144 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 1 Aug 2023 16:13:03 +0100 Subject: [PATCH] Add default empty whitelist --- lib/pleroma/web/media_proxy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/media_proxy.ex b/lib/pleroma/web/media_proxy.ex index 44f927dba..c5087c42c 100644 --- a/lib/pleroma/web/media_proxy.ex +++ b/lib/pleroma/web/media_proxy.ex @@ -76,7 +76,7 @@ defmodule Pleroma.Web.MediaProxy do mediaproxy_whitelist_domains = [:media_proxy, :whitelist] - |> Config.get() + |> Config.get([]) |> Kernel.++(["#{Upload.base_url()}"]) |> Enum.map(&maybe_get_domain_from_url/1)