fixed nonce
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Edward Tirado Jr 2025-12-14 13:38:12 -06:00
parent f5664ce84b
commit 6c589a20eb
3 changed files with 62 additions and 1 deletions

View file

@ -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'),
];