当我启动我的express应用程序时,浏览器给我这个错误: Refused to load the script 'http://localhost:1337/main.js' because it violatesNote that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fa
我想为helmet.js中间件中的一个设置一些自定义选项,但我不明白这样做是否会启用其他中间件,还是必须显式启用它们?来自helmet.js文档: // Sets all of the defaults, but overrides `script-src` and disables the default `style-src