This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meteor.startup(() => { | |
WebApp.connectHandlers.use((req, res, next) => { | |
// See https://blog.appcanary.com/2017/http-security-headers.html#referrer-policy for details, | |
// and information around the other possible values for the Referrer-Policy header: | |
// - "no-referrer" | |
// - "no-referrer-when-downgrade" | |
// - "origin" | |
// - "origin-when-cross-origi" | |
// - "same-origin" | |
// - "strict-origin" |