helmet.csp -> helmet.contentSecurityPolicy
Also updated frameguard
This commit is contained in:
@@ -9,7 +9,7 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
}
|
||||
|
||||
export default function csp() {
|
||||
return helmet.csp({
|
||||
return helmet.contentSecurityPolicy({
|
||||
directives: {
|
||||
defaultSrc: trusted,
|
||||
scriptSrc: [
|
||||
|
||||
Reference in New Issue
Block a user