mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Builtin 'plugin' now works
This commit is contained in:
parent
ee40b23cfc
commit
1f2b52ba5a
2 changed files with 8 additions and 1 deletions
5
node/test.js
Normal file
5
node/test.js
Normal file
|
@ -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 a new issue