remove textRequestHandler entry tracking

This commit is contained in:
Ian Webster 2014-06-05 16:05:38 -07:00
parent c39a47673f
commit 5f0ea57e5a

1
app.js
View File

@ -68,7 +68,6 @@ function textRequestHandler(req, res, number, region, key) {
return; return;
} }
var ip = req.header('X-Real-IP');// || req.connection.remoteAddress; var ip = req.header('X-Real-IP');// || req.connection.remoteAddress;
mpq.track('textRequestHandler entry', {number: req.body.number, message: req.body.message, ip: ip, region: region});
var message = req.body.message; var message = req.body.message;
if (message.indexOf('http') === 0) { if (message.indexOf('http') === 0) {