From 06b894a99d29dffe689a43b317e1be23ec02d304 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 21 Jun 2018 19:38:03 +0000 Subject: [PATCH] remove excess logging --- lib/extensions/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/extensions/index.js b/lib/extensions/index.js index a4edbb1..f0b98c6 100644 --- a/lib/extensions/index.js +++ b/lib/extensions/index.js @@ -303,15 +303,6 @@ var urls = { }; staticApp.use('/', express.static(path.join(__dirname, 'admin'))); app.use('/api', CORS({})); -app.use('/api', function (req, res, next) { - next(); - req.on('data', function (chunk) { - console.log('chunk', chunk.toString()); - }); - req.on('end', function () { - console.log('end'); - }); -}); app.use('/api', bodyParser.json()); // From Device (which knows id, but not secret)