Skip to content

Commit

Permalink
Set Referrer-Policy header for web
Browse files Browse the repository at this point in the history
  • Loading branch information
jstayton committed Dec 16, 2020
1 parent 6174cf4 commit f8df45e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/routes/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = async (fastify) => {
reply.setHeader('X-Content-Type-Options', 'nosniff')
reply.setHeader('X-Frame-Options', 'DENY')
reply.setHeader('X-XSS-Protection', '1; mode=block')
reply.setHeader('Referrer-Policy', 'strict-origin-when-cross-origin')
},
})

Expand Down

0 comments on commit f8df45e

Please sign in to comment.