diff options
author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-04-28 11:13:42 +0000 |
---|---|---|
committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-04-28 11:13:42 +0000 |
commit | 675639225a905f5b0b2650cd3f20a4758fc3f868 (patch) | |
tree | 6fecc35832a85b83bba935725af41495394b0f8b | |
parent | 248f914e6eb33bc22089f00175d0bc0da9d27eb0 (diff) | |
download | pleroma-675639225a905f5b0b2650cd3f20a4758fc3f868.tar.gz pleroma-675639225a905f5b0b2650cd3f20a4758fc3f868.zip |
allow https: so that flash works across instances without need for media proxy
-rw-r--r-- | lib/pleroma/web/plugs/http_security_plug.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex index 34895c8d5..045384e08 100644 --- 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 |