projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1e31f
)
Apply suggestion to lib/pleroma/plugs/http_security_plug.ex
author
rinpatch
<rinpatch@sdf.org>
Fri, 29 May 2020 21:15:07 +0000
(21:15 +0000)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 29 May 2020 21:15:07 +0000
(21:15 +0000)
lib/pleroma/plugs/http_security_plug.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/plugs/http_security_plug.ex
b/lib/pleroma/plugs/http_security_plug.ex
index 4b926e867e02498cf0647f5d1ca7294d4a68a3a5..58907253558c8a2656f31b72e808f0de0db34ccf 100644
(file)
--- a/
lib/pleroma/plugs/http_security_plug.ex
+++ b/
lib/pleroma/plugs/http_security_plug.ex
@@
-75,7
+75,7
@@
defmodule Pleroma.Plugs.HTTPSecurityPlug do
sources = get_proxy_and_attachment_sources()
{[img_src, sources], [media_src, sources]}
else
- {
img_src <> " https:", media_src <> " https:"
}
+ {
[img_src, " https:"], [media_src, " https:"]
}
end
connect_src = ["connect-src 'self' ", static_url, ?\s, websocket_url]