Added some logging
This commit is contained in:
parent
00ef080a1b
commit
2ee0a8a85f
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -10,6 +10,7 @@ exports.register = function() {
|
||||||
this.register_hook('hook_init_http', function(next, server) {
|
this.register_hook('hook_init_http', function(next, server) {
|
||||||
server.http.app.use('/webSend', setupRoutes(server.http.express.Router()));
|
server.http.app.use('/webSend', setupRoutes(server.http.express.Router()));
|
||||||
server.http.app.get('/test', (req, res) => res.send("HELLO!"));
|
server.http.app.get('/test', (req, res) => res.send("HELLO!"));
|
||||||
|
console.log(server.http.app._router.stack);
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue