extend content security policy to allow data images

This commit is contained in:
Michael Weimann 2021-07-24 19:15:03 +02:00
parent b68af58321
commit a0d216c61d
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ return [
'X-Content-Type-Options' => 'nosniff',
'X-Frame-Options' => 'sameorigin',
'Referrer-Policy' => 'strict-origin-when-cross-origin',
'Content-Security-Policy' => 'default-src \'self\' \'unsafe-inline\' \'unsafe-eval\'',
'Content-Security-Policy' => 'default-src \'self\' \'unsafe-inline\' \'unsafe-eval\'; img-src \'self\' data:;',
'X-XSS-Protection' => '1; mode=block',
'Feature-Policy' => 'autoplay \'none\'',
//'Strict-Transport-Security' => 'max-age=7776000',