Merge branch 'master' of github.com:typpo/textbelt
This commit is contained in:
commit
9ab1699e41
1
app.js
1
app.js
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user