Authored by 陈峰

commit

... ... @@ -19,7 +19,6 @@ module.exports = (req, res, next) => {
logger.error('query l is undefined');
return res.send();
}
const referer = url.parse(req.get('referer') || '');
try {
const report = queryParse.parse(req.query.l);
... ... @@ -29,6 +28,7 @@ module.exports = (req, res, next) => {
return res.send();
}
report.forEach(item => {
const referer = url.parse(req.get('referer') || item.pt || '');
let data = {
tags: {
app: referer.hostname,
... ...