From d88c9505f01ab1d7a36a30cad0fa7b0968a86d99 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Fri, 15 Jan 2021 13:31:15 +0000 Subject: [PATCH] note about anonymizer --- helpers/geoip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/geoip.js b/helpers/geoip.js index 04c37057..3b5c3f43 100644 --- a/helpers/geoip.js +++ b/helpers/geoip.js @@ -5,7 +5,7 @@ const { countryNamesMap } = require(__dirname+'/countries.js') module.exports = (req, res, next) => { const code = req.headers[countryCodeHeader] || 'XX'; - res.locals.tor = code === 'TOR' || code === 'LOKI'; + res.locals.tor = code === 'TOR' || code === 'LOKI'; //NOTE: for ticket #312 change this to use a single x-anonymizer header res.locals.country = { code, name: countryNamesMap[code],