summaryrefslogtreecommitdiff
path: root/src/node/hooks/express/admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/hooks/express/admin.js')
-rw-r--r--src/node/hooks/express/admin.js5
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