allow https: so that flash works across instances without need for media proxy

This commit is contained in:
HJ 2023-04-28 11:13:42 +00:00
parent 248f914e6e
commit 675639225a

View file

@ -104,7 +104,7 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do
{[img_src, " https:"], [media_src, " https:"]}
end
connect_src = ["connect-src 'self' blob: ", static_url, ?\s, websocket_url]
connect_src = ["connect-src 'self' blob: https: ", static_url, ?\s, websocket_url]
connect_src =
if Config.get(:env) == :dev do