Closed vejja closed 1 month 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 | May 10, 2024 1:52pm |
I'm closing #445 in favour of this version, which is v2-compatible
meta
instead of the spSsgHashes stepThank you very much! ♥
Closes #444
Types of changes
Description
Currently we insert the CSP meta tag as the first element, to make sure it is read by the UA as soon as possible.
However the W3C spec for HTML5 mentions that the charset meta tag should be the first in
head
This PR ensures that the CSP meta tag is inserted right after the charset meta tag, if it exists.
Checklist: