From 66da13c695e89915577b877f57237f7a1f000b49 Mon Sep 17 00:00:00 2001 From: Eric Fernandez Date: Mon, 27 May 2019 17:10:05 -0300 Subject: [PATCH] console log on query --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index fa16e87..f759a98 100644 --- a/index.js +++ b/index.js @@ -12,6 +12,8 @@ app.listen(config.servidornode.port); app.get('/tank-info/:tank*?', function (req, res) { + console.log('Se realiza consulta de tankes, ' + req.ip); + socket.initConection(port, host); var numberTank = req.params.tank ? req.params.tank : '00'; -- 1.9.1