helmet.csp -> helmet.contentSecurityPolicy

Also updated frameguard
This commit is contained in:
Logan Tegman
2016-05-03 11:32:28 -07:00
parent 981a451d82
commit 1ea2c2a20a
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ if (process.env.NODE_ENV !== 'production') {
}
export default function csp() {
return helmet.csp({
return helmet.contentSecurityPolicy({
directives: {
defaultSrc: trusted,
scriptSrc: [