const express = require('express');
const graphqlHTTP = require('express-graphql');
const schema = require('./schema/schema');
const app = express();
app.use('/graphql', graphqlHTTP({
schema,
graphiql: true,
}));
app.listen(5000, () => {
console.log('now listening for requests on port 5000')
})
GET http://localhost:5000/ 404 (Not Found)
localhost/:1 Refused to load the image 'http://localhost:5000/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
I'm getting a "content security policy error on my node app. I'm only running a simple node server app. I added a favicon.ico image in the root folder as per the error message request , but it doesn't go away.