You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Jetstream/Livewire setup depends on Alpine.js, which relies on utilities that violate the "unsafe-eval" content security policy.
This creates potential issues with security filters that are often enabled in production environments.
I believe it would be beneficial to adapt the setup to use the CSP-safe version of Alpine.js, as explained here: https://alpinejs.dev/advanced/csp
It seems that Alpine is only used for a few Blade views and components, and that the modifications can be done without breaking existing projects.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the Jetstream/Livewire setup depends on Alpine.js, which relies on utilities that violate the "unsafe-eval" content security policy.
This creates potential issues with security filters that are often enabled in production environments.
I believe it would be beneficial to adapt the setup to use the CSP-safe version of Alpine.js, as explained here:
https://alpinejs.dev/advanced/csp
It seems that Alpine is only used for a few Blade views and components, and that the modifications can be done without breaking existing projects.
Beta Was this translation helpful? Give feedback.
All reactions