react-chrome-extension-boilerplate
react-chrome-extension-boilerplate copied to clipboard
Redux dev tool error when using dev mode
Hello! I just cloned and ran this repo. I noticed that i'm getting this error whenever i use the extension:
Refused to load the script 'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd/js/redux-devtools-extension.js' because it violates the following Content Security Policy directive: "script-src 'self' http://localhost:3000 https://localhost:3000 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Any idea why this is happening?
@TheSimpleZ
Modify your manifest.dev.json
Add chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljd
to "content_security_policy" under script-src
How does this work for manifest v3?