Merge branch 'master' of github.com:typpo/textbelt

This commit is contained in:
Ian 2014-06-18 21:57:19 -07:00
commit 9ab1699e41

1
app.js
View File

@ -69,7 +69,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(':') > -1) { if (message.indexOf(':') > -1) {