From d3cc8e33741489e34e9d7b6a90f4550910d4e951 Mon Sep 17 00:00:00 2001 From: johnyma22 Date: Thu, 5 Apr 2012 17:49:03 +0100 Subject: [PATCH] Make the console show the url that admin/plugins is available at --- src/node/server.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/node/server.js b/src/node/server.js index bc4333cd..6b443edb 100644 --- a/src/node/server.js +++ b/src/node/server.js @@ -88,7 +88,12 @@ async.waterfall([ //let the server listen app.listen(settings.port, settings.ip); console.log("Server is listening at " + settings.ip + ":" + settings.port); - + if(settings.adminHttpAuth){ + console.log("Plugin admin page listening at " + settings.ip + ":" + settings.port + "/admin/plugins"); + } + else{ + console.log("Admin username and password not set in settings.json. To access admin please uncomment and edit adminHttpAuth in settings.json"); + } callback(null); } ]);