mirror of
https://git.coolaj86.com/coolaj86/telebit-relay.js.git
synced 2025-02-23 17:38:05 +00:00
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')));
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user