Tuesday, 11 September 2018

How Do I set up Content Security Policies?

I have a very small single page app, and I am trying to load some scripts from node modules like this.When I start the app, I get errors like this:Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost:5000/scripts/bootstrap/dist/css/bootstrap.min.css (“style-src”).How am I supposed to set up my Content Security Policy? The only examples I can come across use the default starter examples and those are not working.

Submitted September 12, 2018 at 01:54AM by despairshoto

No comments:

Post a Comment