bejamas / gatsby-plugin-csp

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

disableOnDev flag is printed to HTML #25

Open mosesoak opened 2 years ago

mosesoak commented 2 years ago

The disableOnDev flag should be deleted from the output prior to printing to HTML. Currently it is:

image

Which throws an error in Chrome image