Remove console.log debug

This commit is contained in:
Nick O'Leary 2014-03-09 22:34:45 +00:00
parent 15002f6872
commit d5ad113d1b
1 changed files with 0 additions and 4 deletions

4
red.js
View File

@ -104,10 +104,8 @@ if (settings.httpAdminRoot !== false) {
settings.httpAdminAuth = settings.httpAdminAuth || settings.httpAuth;
}
console.log("1:"+settings.httpNodeRoot);
if (settings.httpNodeRoot !== false) {
settings.httpNodeRoot = formatRoot(settings.httpNodeRoot || settings.httpRoot || "/");
console.log("2:"+settings.httpNodeRoot);
settings.httpNodeAuth = settings.httpNodeAuth || settings.httpAuth;
}
@ -133,11 +131,9 @@ if (settings.httpNodeRoot !== false && settings.httpNodeAuth) {
);
}
if (settings.httpAdminRoot !== false) {
console.log("Attaching admin root");
app.use(settings.httpAdminRoot,RED.httpAdmin);
}
if (settings.httpNodeRoot !== false) {
console.log(settings.httpNodeRoot);
app.use(settings.httpNodeRoot,RED.httpNode);
}