Chormeの「Refused to load the script 」エラーの解決方法

create-react-ssr-app で以下のエラーを確認

Refused to load the script 'http://localhost:3030/static/js/main.chunk.js' because it violates the following Content Security Policy directive: "default-src 'self' http://121.0.0:3000/". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback.

manifest.jsonに以下の追記をするとエラーが解消する

"content_security_policy": "script-src 'self' https://ajax.googleapis.com; object-src 'self'"

コメント