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:
commit
3370924b8b
1 changed files with 1 additions and 0 deletions
|
@ -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("; ")
|
||||
|
|
Loading…
Reference in a new issue