mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Put up some '/admin doesn't exist' notice.
This commit is contained in:
parent
2311b0fbb4
commit
2d6e577683
2 changed files with 6 additions and 0 deletions
5
src/node/hooks/express/admin.js
Normal file
5
src/node/hooks/express/admin.js
Normal file
|
@ -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>' );
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue