Hi,
I finished with the stock price checker challenge.
Glitch
Please test it. If find any bug I try to fix. On client console I have an error what I could not resolve. I tried everything but still appear… If you know how to resolve, please help me. The problem is in the helmet CSP code: I am run out from ideas…
app.use(helmet.contentSecurityPolicy({
directives: {
defaultSrc: ["'self'"],
styleSrc: ["'self'", "'unsafe-inline'"],
scriptSrc: ["'self'", "'unsafe-inline'", "code.jquery.com"],
imgSrc: ["'self'", "hyperdev.com", "glitch.com"]
},
browserSniff: false
}));