remove excess logging
This commit is contained in:
parent
d2fde5c38c
commit
06b894a99d
|
@ -303,15 +303,6 @@ var urls = {
|
||||||
};
|
};
|
||||||
staticApp.use('/', express.static(path.join(__dirname, 'admin')));
|
staticApp.use('/', express.static(path.join(__dirname, 'admin')));
|
||||||
app.use('/api', CORS({}));
|
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());
|
app.use('/api', bodyParser.json());
|
||||||
|
|
||||||
// From Device (which knows id, but not secret)
|
// From Device (which knows id, but not secret)
|
||||||
|
|
Loading…
Reference in New Issue