Fix deprecation of httpRoot

This commit is contained in:
Nick O'Leary
2021-04-26 14:43:06 +01:00
parent 62f2a552ea
commit b62e4f6662
3 changed files with 2 additions and 3 deletions

View File

@@ -263,7 +263,6 @@ httpsPromise.then(function(startupHttps) {
settings.httpAdminRoot = false;
settings.httpNodeRoot = false;
} else {
settings.httpRoot = settings.httpRoot||"/";
settings.disableEditor = settings.disableEditor||false;
}

View File

@@ -106,7 +106,7 @@ module.exports = {
//apiMaxLength: '5mb',
// If you installed the optional node-red-dashboard you can set it's path
// relative to httpRoot
// relative to httpNodeRoot
// Other optional properties include
// readOnly:{boolean},
// middleware:{function or array}, (req,res,next) - http middleware