diff options
author | Sheogorath | 2018-10-04 03:02:55 +0200 |
---|---|---|
committer | Sheogorath | 2018-10-04 03:04:36 +0200 |
commit | d4a9bb3c7e090f5fbea4df596be0c6261b3b4ac3 (patch) | |
tree | 0cc2f270e785f102a95a308b38824dc2fa3b05cf /package.json | |
parent | d9ba11b21a77561ec3f72d5396d48fea32f6389d (diff) |
Add `data:` URL to CSP and upgrade helmet
Seems like the old version of helmet had a problem with `data:`. This
patch upgrades to the latest version and adds the CSP rule to allow
Google Fonts and the offline version of it, to properly include the
fonts and no longer throw ugly error messages at us.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 6d461225..6a48e903 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "gist-embed": "~2.6.0", "graceful-fs": "^4.1.11", "handlebars": "^4.0.6", - "helmet": "^3.3.0", + "helmet": "^3.13.0", "highlight.js": "~9.12.0", "i18n": "^0.8.3", "imgur": "git+https://github.com/hackmdio/node-imgur.git", |