Open dargmuesli opened 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
nuxt-security | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 12, 2024 10:08am |
@vejja @GalacticHypernova would you be so kind to review? :pray:
I've tested this change in my projects and it works fine. Without this change having a nonce in style-src
results in
With this change there is no such error in development any more :partying_face:
Seems good to me at a first glance, will do some local testing soon. Thanks for making this PR! I was planning on making it but got a little busy with life.
Types of changes
Description
Allows to use
"'nonce-{{nonce}}'"
placeholder onstyle-src
policy in development. Resolves discussion #454.Checklist:
Not sure how to run tests for development mode.