mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Removed unsafe-inline and unsafe-eval
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ad2674d20b
commit
93e69ab0c6
|
@ -83,8 +83,8 @@ class SecurityHeaders
|
|||
|
||||
if ((config('app.debug') != 'true') && (config('app.enable_csp') == 'true')) {
|
||||
$csp_policy[] = "default-src 'self'";
|
||||
$csp_policy[] = "style-src 'self' 'unsafe-inline'";
|
||||
$csp_policy[] = "script-src 'self' 'unsafe-inline' 'unsafe-eval'";
|
||||
$csp_policy[] = "style-src 'self'";
|
||||
$csp_policy[] = "script-src 'self'";
|
||||
$csp_policy[] = "connect-src 'self'";
|
||||
$csp_policy[] = "object-src 'none'";
|
||||
$csp_policy[] = "font-src 'self' data:";
|
||||
|
|
Loading…
Reference in a new issue