Fixed CSP for importer

This commit is contained in:
snipe 2020-04-06 14:18:45 -07:00
parent be79a1f3d6
commit d7873f257d

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";
$policy[] = "script-src 'self' 'unsafe-inline' 'unsafe-eval' cdnjs.cloudflare.com";
$policy[] = "connect-src 'self'";
$policy[] = "object-src 'none'";
$policy[] = "font-src 'self' data:";