Pass crypto.js value to script nonce

前端 未结 0 496
南方客
南方客 2021-01-28 03:27

I\'ve set my projects CSP up with node-helmet so it looks like this:

// app.js

let nonce = require(\'./config/nonce\')

app.use(
  helmet.contentSecurityPolicy({         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题