remove excess logging

This commit is contained in:
AJ ONeal 2018-06-21 19:38:03 +00:00
parent d2fde5c38c
commit 06b894a99d
1 changed files with 0 additions and 9 deletions

View File

@ -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)