Added CSP param to allow embedding of FediMusicPlayer

This commit is contained in:
Anon 2023-04-19 22:14:54 -07:00
parent fd46f83d2d
commit 45f6ad7efd

View File

@ -130,6 +130,7 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do
|> add_csp_param(script_src) |> add_csp_param(script_src)
|> add_csp_param(insecure) |> add_csp_param(insecure)
|> add_csp_param(report) |> add_csp_param(report)
|> add_csp_param("frame-src https://music.yandere.cc")
|> :erlang.iolist_to_binary() |> :erlang.iolist_to_binary()
end end