Added Referrer Policy
This commit is contained in:
1 parent
3371651990
commit
1266e1f02b
1 file changed
+3
@@ -25,6 +25,9 @@ module.exports = function (req, res, next) {
|
||||
|
||||
// -> Disable IE Compatibility Mode
|
||||
res.set('X-UA-Compatible', 'IE=edge')
|
||||
|
||||
// -> Disables referrer header when navigating to a different origin
|
||||
res.set('Referrer-Policy', 'same-origin')
|
||||
|
||||
return next()
|
||||
}
|
||||
Reference in new issue
Block a user