fixed nonce
This commit is contained in:
parent
f5664ce84b
commit
6c589a20eb
3 changed files with 62 additions and 1 deletions
|
|
@ -170,4 +170,17 @@ return [
|
|||
*/
|
||||
|
||||
'pagination_theme' => 'tailwind',
|
||||
|
||||
/*
|
||||
|---------------------------------------------------------------------------
|
||||
| Content Security Policy Nonce
|
||||
|---------------------------------------------------------------------------
|
||||
|
|
||||
| When using Content-Security-Policy headers, Livewire can automatically
|
||||
| apply nonces to its injected scripts. Provide a closure that returns
|
||||
| the nonce value for the current request, or null to disable.
|
||||
|
|
||||
*/
|
||||
|
||||
'nonce' => fn () => request()->attributes->get('csp-nonce'),
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue