logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 675639225a905f5b0b2650cd3f20a4758fc3f868
parent 248f914e6eb33bc22089f00175d0bc0da9d27eb0
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Fri, 28 Apr 2023 11:13:42 +0000

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

Diffstat:

Mlib/pleroma/web/plugs/http_security_plug.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex @@ -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