Added test route
This commit is contained in:
父節點
ae4f33ac50
當前提交
00ef080a1b
1
index.js
1
index.js
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
載入中…
新增問題並參考