Refused to execute inline script because it violates the following Content Security Policy directive: “script-src ‘self'”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-xxx’), or a nonce (‘nonce-…’) is required to enable inline execution.
<script></script>で囲った中に書いてあるコードを外部ファイル化したら直った。
コメント