1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2025-04-15 23:44:09 +00:00

Merge branch 'add-manifest-src-to-csp' into 'develop'

Add manifest-src to CSP to allow manifest.json

See merge request 
This commit is contained in:
Haelwenn 2018-11-26 19:56:49 +00:00
commit 3370924b8b

View file

@ -39,6 +39,7 @@ defmodule Pleroma.Plugs.HTTPSecurityPlug do
"font-src 'self'",
"script-src 'self'",
"connect-src 'self' " <> String.replace(Pleroma.Web.Endpoint.static_url(), "http", "ws"),
"manifest-src 'self'",
"upgrade-insecure-requests"
]
|> Enum.join("; ")