Authored by htoooth

fix

... ... @@ -2,6 +2,7 @@ const queryParse = require('../lib/query-parse');
const sourceMapParse = require('../lib/sourcemap-parse');
const Sender = require('influx-batch-sender');
const _ = require('lodash');
const logger = global.yoho.logger;
const config = global.yoho.config;
... ... @@ -11,7 +12,7 @@ const durationType = {
fs: 'firstscreen'
};
const influxSender = new Sender(config.report);
const influxSender = new Sender(config.reportApi);
module.exports = (req, res, next) => {
if (!req.query.l) {
... ...