Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers

This commit is contained in:
Daniel García Aubert
2020-05-26 13:15:35 +02:00
parent 4d06fee1e2
commit ddefb1a6ca
4 changed files with 9 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ module.exports = function user (metadataBackend) {
}
res.locals.userId = userId;
res.set('Carto-User-Id', `${userId}`);
return next();
});
};