Baroshem / nuxt-security

🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware
https://nuxt-security.vercel.app/
MIT License
809 stars 56 forks source link

fix(ssg): remove frame-ancestors from meta #388

Closed vejja closed 7 months ago

vejja commented 7 months ago

Types of changes

Closes #329

Description

Removes the frame-ancestors CSP directive in SSG mode. As stated in the MDN Doc, this directive is not supported in the meta element.

Fixes Chrome complaining of the same: Capture d’écran 2024-02-25 à 11 31 19

Checklist:

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nuxt-security ✅ Ready (Inspect) Visit Preview Feb 25, 2024 10:30am
Baroshem commented 7 months ago

Thanks @vejja for this fix 💚

I will publish a patch version with it!