mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove console.log debug
This commit is contained in:
parent
15002f6872
commit
d5ad113d1b
4
red.js
4
red.js
@ -104,10 +104,8 @@ if (settings.httpAdminRoot !== false) {
|
|||||||
settings.httpAdminAuth = settings.httpAdminAuth || settings.httpAuth;
|
settings.httpAdminAuth = settings.httpAdminAuth || settings.httpAuth;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("1:"+settings.httpNodeRoot);
|
|
||||||
if (settings.httpNodeRoot !== false) {
|
if (settings.httpNodeRoot !== false) {
|
||||||
settings.httpNodeRoot = formatRoot(settings.httpNodeRoot || settings.httpRoot || "/");
|
settings.httpNodeRoot = formatRoot(settings.httpNodeRoot || settings.httpRoot || "/");
|
||||||
console.log("2:"+settings.httpNodeRoot);
|
|
||||||
settings.httpNodeAuth = settings.httpNodeAuth || settings.httpAuth;
|
settings.httpNodeAuth = settings.httpNodeAuth || settings.httpAuth;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,11 +131,9 @@ if (settings.httpNodeRoot !== false && settings.httpNodeAuth) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (settings.httpAdminRoot !== false) {
|
if (settings.httpAdminRoot !== false) {
|
||||||
console.log("Attaching admin root");
|
|
||||||
app.use(settings.httpAdminRoot,RED.httpAdmin);
|
app.use(settings.httpAdminRoot,RED.httpAdmin);
|
||||||
}
|
}
|
||||||
if (settings.httpNodeRoot !== false) {
|
if (settings.httpNodeRoot !== false) {
|
||||||
console.log(settings.httpNodeRoot);
|
|
||||||
app.use(settings.httpNodeRoot,RED.httpNode);
|
app.use(settings.httpNodeRoot,RED.httpNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user