Add CSP execptions rules for cookies
This commit is contained in:
parent
6e01470b5c
commit
8668c6a38c
1 changed files with 5 additions and 1 deletions
|
|
@ -56,8 +56,9 @@ class SecureHeaders
|
|||
// * VITE DEV
|
||||
config('app.debug') ? "wss://vite.{$host}:4443" : '',
|
||||
config('app.debug') ? "https://vite.{$host}:4443" : '',
|
||||
'https://yl.s-web.fr',
|
||||
]) . ';',
|
||||
"img-src * data: blob:;",
|
||||
"img-src * https://yl.s-web.fr data: blob:;",
|
||||
'frame-src ' . implode(' ', [
|
||||
'https://www.google.com/recaptcha/',
|
||||
'https://recaptcha.google.com/recaptcha/',
|
||||
|
|
@ -89,6 +90,9 @@ class SecureHeaders
|
|||
config('app.debug') ? "https://vite.{$host}:4443" : '',
|
||||
'https://www.googletagmanager.com',
|
||||
'https://cdnjs.cloudflare.com',
|
||||
'https://www.google.com/recaptcha/',
|
||||
'https://www.gstatic.com/recaptcha/',
|
||||
'https://yl.s-web.fr',
|
||||
"$scheme://www.google-analytics.com",
|
||||
]) . ';'
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue