We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to not have any inline scripts to enforce a strict Content Security Policy.
The color-mode script should not be inlined as done here
script
color-mode/src/runtime/nitro-plugin.ts
Line 7 in 65c90d4
Set script-src: 'unsafe-inline' (which is unsafe)
script-src: 'unsafe-inline'
This was previously done for Nuxt 2 here:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
I'd like to not have any inline scripts to enforce a strict Content Security Policy.
Describe the solution you'd like
The color-mode
script
should not be inlined as done herecolor-mode/src/runtime/nitro-plugin.ts
Line 7 in 65c90d4
Describe alternatives you've considered
Set
script-src: 'unsafe-inline'
(which is unsafe)Additional context
This was previously done for Nuxt 2 here:
color-mode/src/runtime/nitro-plugin.ts
Line 7 in 65c90d4
The text was updated successfully, but these errors were encountered: