Add manifest-src to allow manifest.json

This commit is contained in:
shibayashi 2018-11-26 20:48:24 +01:00
parent 39a3b1724a
commit 591b11eafc
No known key found for this signature in database
GPG Key ID: C10662A33EB28508

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("; ")