Browse Source

Added test route

master
John Shaver 10 months ago
parent
commit
00ef080a1b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.js

+ 1
- 0
index.js View File

@@ -9,6 +9,7 @@ exports.register = function() {
outbound = this.haraka_require('./outbound');
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!"));
next();
});
}

Loading…
Cancel
Save