Solve a problem with inline displaying of file attachments.

This commit is contained in:
James Cole 2018-10-07 18:41:02 +02:00
parent 2ec310da18
commit 8088c28235
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -37,7 +37,6 @@ class SecureHeaders
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
*
* @return mixed
*/
@ -51,6 +50,7 @@ class SecureHeaders
}
$csp = [
"default-src 'none'",
"object-src 'self'",
sprintf("script-src 'self' 'unsafe-eval' 'unsafe-inline' %s", $google),
"style-src 'self' 'unsafe-inline'",
"base-uri 'self'",