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

Add manifest-src to CSP to allow manifest.json

See merge request pleroma/pleroma!474
This commit is contained in:
Haelwenn 2018-11-26 19:56:49 +00:00
commit 3370924b8b
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ defp csp_string 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("; ")