mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Fixed possible typo in CSP
This commit is contained in:
parent
120e224961
commit
e7c1418314
|
@ -21,7 +21,7 @@ class ContentSecurityPolicyHeader
|
||||||
|
|
||||||
$policy[] = "default-src 'self'";
|
$policy[] = "default-src 'self'";
|
||||||
$policy[] = "style-src 'self' 'unsafe-inline' oss.maxcdn.com";
|
$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' oss.mafxcdn.com cdnjs.cloudflare.com";
|
||||||
$policy[] = "connect-src 'self'";
|
$policy[] = "connect-src 'self'";
|
||||||
$policy[] = "object-src 'none'";
|
$policy[] = "object-src 'none'";
|
||||||
$policy[] = "font-src 'self' data:";
|
$policy[] = "font-src 'self' data:";
|
||||||
|
|
Loading…
Reference in a new issue