Browse Source

Added some logging

master
John Shaver 3 months ago
parent
commit
2ee0a8a85f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.js

+ 1
- 0
index.js View File

@@ -10,6 +10,7 @@ exports.register = function() {
10 10
   this.register_hook('hook_init_http', function(next, server) {
11 11
     server.http.app.use('/webSend', setupRoutes(server.http.express.Router()));
12 12
     server.http.app.get('/test', (req, res) => res.send("HELLO!"));
13
+    console.log(server.http.app._router.stack);
13 14
     next();
14 15
   });
15 16
 }

Loading…
Cancel
Save