Added CSP param to allow embedding of FediMusicPlayer
This commit is contained in:
parent
fd46f83d2d
commit
45f6ad7efd
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user