kindspells / astro-shield

Astro integration to enhance your website's security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques.
https://astro-shield.kindspells.dev
MIT License
58 stars 6 forks source link

Add support for `netlify.toml` configuration file #106

Open castarco opened 2 months ago

castarco commented 2 months ago

We have recently added experimental support for generating CSP headers for static content served by Netlify.

Although the current features set is arguably good, for now we only support configuring those headers via the _headers file, and it could be useful to also support the netlify.toml configuration file for greater flexibility.

Related to #65 .

Upvote & Fund

Fund with Polar