mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
http_security_plug.ex: Fix non-proxied media
This commit is contained in:
parent
9848978109
commit
da1e31fae3
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ defmodule Pleroma.Plugs.HTTPSecurityPlug do
|
|||
sources = get_proxy_and_attachment_sources()
|
||||
{[img_src, sources], [media_src, sources]}
|
||||
else
|
||||
{img_src, media_src}
|
||||
{img_src <> " https:", media_src <> " https:"}
|
||||
end
|
||||
|
||||
connect_src = ["connect-src 'self' ", static_url, ?\s, websocket_url]
|
||||
|
|
Loading…
Reference in a new issue