Leftovers from other PR
This commit is contained in:
parent
a88c085278
commit
2d09a214ae
@ -1,13 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function customProfile () {
|
||||
return function customProfileMiddleware (req, res, next) {
|
||||
const layergroupid = res.get('X-Layergroup-Id') || req.params.token;
|
||||
|
||||
if (layergroupid) {
|
||||
req.profiler.add({ layergroupid });
|
||||
}
|
||||
|
||||
next();
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user