Add manifest-src to allow manifest.json
authorshibayashi <shibayashi@cypherpunk.observer>
Mon, 26 Nov 2018 19:48:24 +0000 (20:48 +0100)
committershibayashi <shibayashi@cypherpunk.observer>
Mon, 26 Nov 2018 19:48:24 +0000 (20:48 +0100)
lib/pleroma/plugs/http_security_plug.ex

index 31c7332f8fc30e7824c33b1c2263d220a9f76ec9..84d6506e3abc6d662f2842e42e03757c41bae418 100644 (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("; ")