2022-01-02

のーと

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.ってエラー

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'...
したい

簡易掲示板を作りたい、node.js+expressで ⑦色々

色々思いついたことを色々やっていく。Helmetを使うexpressで推奨されてた。 $ npm install --save helmetインストールして追記var helmet = require('helmet')app.use(he...
スポンサーリンク