Try logging info again

This commit is contained in:
John Shaver 2019-09-04 07:48:00 -07:00
parent 2ee0a8a85f
commit 549d3a5a98

View file

@ -7,10 +7,11 @@ let getTemplates = require('./templater');
let errorSender = require('./errorSender');
exports.register = function() {
outbound = this.haraka_require('./outbound');
let plugin = this;
this.register_hook('hook_init_http', function(next, server) {
server.http.app.use('/webSend', setupRoutes(server.http.express.Router()));
server.http.app.get('/test', (req, res) => res.send("HELLO!"));
console.log(server.http.app._router.stack);
plugin.loginfo(server.http.app._router.stack);
next();
});
}