bejamas / gatsby-plugin-csp

A Gatsby plugin which adds strict Content Security Policy to your project.
MIT License
38 stars 15 forks source link

Adding reportOnly option #7

Closed skylarweaver closed 5 years ago

skylarweaver commented 5 years ago

Adding ability to set Report-Only csp option (false by default) to allow proper testing of gatsby csp directives. Non-breaking change.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only

Referencing issue #5