Helmet unable to override Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) error
I’m learning to use express / node.js for web development. I have a simple index.js file set up. I can access http://localhost:3001/ fine. But when I try to access http://localhost:3001/api/people (defined as inline scripts) I get the following error:
“helmet” module activates the automatics redirect from “http://localhost” to “https://localhost” without possibility of manual correction
After I have activated the helmet module, the browser stops to display on http://localhost:3000/
and other ports of the localhost: