diff --git a/lib/common/options.js b/lib/common/options.js index e4bfa2617e..1c62a434c5 100644 --- a/lib/common/options.js +++ b/lib/common/options.js @@ -128,7 +128,10 @@ Options.from = function (_options) { // Apply default hash to CSP option if (options.render.csp === true) { - options.render.csp = { hashAlgorithm: 'sha256' } + options.render.csp = { + enabled: true, + hashAlgorithm: 'sha256' + } } // cssSourceMap