1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2026-02-15 17:16:57 +00:00

ensure only pickable frontends can be returned

This commit is contained in:
FloatingGhost 2023-04-14 17:42:40 +01:00 committed by nicole mikołajczyk
parent fd177a363b
commit 1fd94ed001

View file

@ -76,7 +76,11 @@ defmodule Pleroma.Web.Plugs.FrontendStatic do
:primary
frontend ->
frontend
if Enum.member?(Pleroma.Config.get([:frontends, :pickable], []), frontend) do
frontend
else
:primary
end
end
end