diff --git a/packages/node_modules/@node-red/runtime/lib/index.js b/packages/node_modules/@node-red/runtime/lib/index.js index d95076e86..fd3fda721 100644 --- a/packages/node_modules/@node-red/runtime/lib/index.js +++ b/packages/node_modules/@node-red/runtime/lib/index.js @@ -182,7 +182,7 @@ function start() { log.info(log._("runtime.paths.settings",{path:settings.settingsFile})); } if (settings.httpRoot !== undefined) { - log.warn(log._("server.deprecatedOption",{old:"httpRoot", new: "httpNodeRoot/httpAdminRoot")); + log.warn(log._("server.deprecatedOption",{old:"httpRoot", new: "httpNodeRoot/httpAdminRoot"})); } if (settings.httpStatic) { log.info(log._("runtime.paths.httpStatic",{path:path.resolve(settings.httpStatic)})); diff --git a/packages/node_modules/node-red/red.js b/packages/node_modules/node-red/red.js index 55e355a7c..436537873 100755 --- a/packages/node_modules/node-red/red.js +++ b/packages/node_modules/node-red/red.js @@ -263,7 +263,6 @@ httpsPromise.then(function(startupHttps) { settings.httpAdminRoot = false; settings.httpNodeRoot = false; } else { - settings.httpRoot = settings.httpRoot||"/"; settings.disableEditor = settings.disableEditor||false; } diff --git a/packages/node_modules/node-red/settings.js b/packages/node_modules/node-red/settings.js index 9fb20f9ce..b0243180f 100644 --- a/packages/node_modules/node-red/settings.js +++ b/packages/node_modules/node-red/settings.js @@ -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