Commit 1266e1f0 authored by Alexander Gebhard's avatar Alexander Gebhard Committed by Nicolas Giard

Added Referrer Policy

parent 33716519
...@@ -25,6 +25,9 @@ module.exports = function (req, res, next) { ...@@ -25,6 +25,9 @@ module.exports = function (req, res, next) {
// -> Disable IE Compatibility Mode // -> Disable IE Compatibility Mode
res.set('X-UA-Compatible', 'IE=edge') res.set('X-UA-Compatible', 'IE=edge')
// -> Disables referrer header when navigating to a different origin
res.set('Referrer-Policy', 'same-origin')
return next() return next()
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment