diff --git a/node/test.js b/node/test.js new file mode 100644 index 000000000..5db54720d --- /dev/null +++ b/node/test.js @@ -0,0 +1,5 @@ +exports.expressServer = function (hook_name, args, cb) { + args.app.get('/testxx', function(req, res) { + res.send("Testing testing"); + }); +} diff --git a/pluginomatic.json b/pluginomatic.json index 1f8fe1896..ca9ee4163 100644 --- a/pluginomatic.json +++ b/pluginomatic.json @@ -1,6 +1,8 @@ { "parts": [{ "name": "__builtin__", - "hooks": {} + "hooks": { + "expressServer": "../test:expressServer" + } }] }