Builtin 'plugin' now works
This commit is contained in:
parent
ee40b23cfc
commit
1f2b52ba5a
|
@ -0,0 +1,5 @@
|
|||
exports.expressServer = function (hook_name, args, cb) {
|
||||
args.app.get('/testxx', function(req, res) {
|
||||
res.send("<em>Testing testing</em>");
|
||||
});
|
||||
}
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"parts": [{
|
||||
"name": "__builtin__",
|
||||
"hooks": {}
|
||||
"hooks": {
|
||||
"expressServer": "../test:expressServer"
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue