Removed nonce for now

There is a dependency in a package where we can’t edit the script tags to add the nonce
This commit is contained in:
snipe 2017-11-02 10:57:05 -07:00
parent ca6dc5c2b5
commit e08911ab8f

View file

@ -21,7 +21,7 @@ class ContentSecurityPolicyHeader
$policy[] = "default-src 'self'";
$policy[] = "style-src 'self' 'unsafe-inline' oss.maxcdn.com";
$policy[] = "script-src 'self' 'unsafe-inline' oss.mafxcdn.com cdnjs.cloudflare.com 'nonce-".csrf_token()."'";
$policy[] = "script-src 'self' 'unsafe-inline' oss.mafxcdn.com cdnjs.cloudflare.com'";
$policy[] = "connect-src 'self'";
$policy[] = "object-src 'none'";
$policy[] = "font-src 'self' data:";