Add manifest-src to allow manifest.json
This commit is contained in:
parent
39a3b1724a
commit
591b11eafc
|
@ -39,6 +39,7 @@ defp csp_string do
|
||||||
"font-src 'self'",
|
"font-src 'self'",
|
||||||
"script-src 'self'",
|
"script-src 'self'",
|
||||||
"connect-src 'self' " <> String.replace(Pleroma.Web.Endpoint.static_url(), "http", "ws"),
|
"connect-src 'self' " <> String.replace(Pleroma.Web.Endpoint.static_url(), "http", "ws"),
|
||||||
|
"manifest-src 'self'",
|
||||||
"upgrade-insecure-requests"
|
"upgrade-insecure-requests"
|
||||||
]
|
]
|
||||||
|> Enum.join("; ")
|
|> Enum.join("; ")
|
||||||
|
|
Loading…
Reference in New Issue