This commit is contained in:
Sébastien Chopin 2018-01-10 17:36:32 +01:00 committed by GitHub
parent 9a3bfdc998
commit 063448fe2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ Options.from = function (_options) {
if (!isPureObject(options.loadingIndicator)) {
options.loadingIndicator = { name: options.loadingIndicator }
}
// Apply default hash to CSP option
if (options.render.csp === true) {
options.render.csp = { hashAlgorithm: 'sha256' }