I'm using node-red 0.20.0 as embedded. i need to set request header for every request. i modified red.js (before server.listen) as below
app.use(function(req, res, next) {
console.log('################################# Time: %d', Date.now());
next();
});
the interceptor doesn't invoke. what am i doing wrong here?