removed unsafe-inline styles via svgo-loader. fixes #740

This commit is contained in:
Danny Coates 2018-02-26 11:48:28 -08:00
parent 0a0980f9e3
commit 74728782f3
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 241 additions and 22 deletions

View file

@ -36,11 +36,7 @@ module.exports = function(app) {
],
imgSrc: ["'self'", 'https://www.google-analytics.com'],
scriptSrc: ["'self'"],
styleSrc: [
"'self'",
"'unsafe-inline'",
'https://code.cdn.mozilla.net'
],
styleSrc: ["'self'", 'https://code.cdn.mozilla.net'],
fontSrc: ["'self'", 'https://code.cdn.mozilla.net'],
formAction: ["'none'"],
frameAncestors: ["'none'"],