-
Notifications
You must be signed in to change notification settings - Fork 63
Description
When loading blank.org I'm greeted with a blank page and a console error:
content-script-loader.main.tsx.js:7 Refused to load the script 'chrome-extension://34ce7500-db6a-4957-a6e7-4b14953e21d6/assets/main.tsx-M-XeBlDr.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Workaround:
set "use_dynamic_url": false
in dist/manifest.json
As far as I've gathered, there's no simple way to just tell crxjs to set "use_dynamic_url" to false. But I could be wrong, and I only did limited amount of research
Some helpful references:
crxjs/chrome-extension-tools#918
pnd280/complexity#7
P.S. Thank you for this project. A very useful out-of-the-box solution, nvm the bug above.