Add textRequestHandler tracking to try to find duplicate text problem
This commit is contained in:
parent
e1663f1d85
commit
db80268004
1
app.js
1
app.js
@ -57,6 +57,7 @@ function textRequestHandler(req, res, number, region) {
|
||||
return;
|
||||
}
|
||||
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;
|
||||
if (message.indexOf('http') === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user