Skip to content

Commit 871923a

Browse files
browniebrokesidharthachatterjee
authored andcommitted
fix(gatsby-plugin-netlify): Add Referrer-Policy to security headers (#13452)
1 parent aca58b7 commit 871923a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gatsby-plugin-netlify/src/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const SECURITY_HEADERS = {
2121
`X-Frame-Options: DENY`,
2222
`X-XSS-Protection: 1; mode=block`,
2323
`X-Content-Type-Options: nosniff`,
24+
`Referrer-Policy: same-origin`,
2425
],
2526
}
2627

0 commit comments

Comments
 (0)