Make the console show the url that admin/plugins is available at

pull/623/head
johnyma22 2012-04-05 17:49:03 +01:00
parent be5aec7e20
commit d3cc8e3374
1 changed files with 6 additions and 1 deletions

View File

@ -88,7 +88,12 @@ async.waterfall([
//let the server listen //let the server listen
app.listen(settings.port, settings.ip); app.listen(settings.port, settings.ip);
console.log("Server is listening at " + settings.ip + ":" + settings.port); 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); callback(null);
} }
]); ]);