diff options
author | Marcel Klehr <mklehr@gmx.net> | 2012-11-01 19:45:26 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-11-01 19:45:26 +0100 |
commit | 2d6e5776834ad1848f76dfbe272af2e5661281d4 (patch) | |
tree | 00fcf5d235fffecb2bd68b6aa707971a1580712d /src/node/hooks/express/admin.js | |
parent | 2311b0fbb4ae2c34b2bb4f9303bf4064180e2c40 (diff) | |
download | etherpad-lite-2d6e5776834ad1848f76dfbe272af2e5661281d4.zip |
Put up some '/admin doesn't exist' notice.
Diffstat (limited to 'src/node/hooks/express/admin.js')
-rw-r--r-- | src/node/hooks/express/admin.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node/hooks/express/admin.js b/src/node/hooks/express/admin.js new file mode 100644 index 00000000..83bada22 --- /dev/null +++ b/src/node/hooks/express/admin.js @@ -0,0 +1,5 @@ +exports.expressCreateServer = function (hook_name, args, cb) { + args.app.get('/admin', function(req, res) { + res.send( 501, 'Not Implemented, yet. Meanwhile go to <a href="/admin/plugins">/admin/plugins</a>' ); + }); +};
\ No newline at end of file |