mirror of https://github.com/node-red/node-red.git
Handle missing httpNodeRoot setting properly
parent
a6803081ab
commit
3ab0d0d865
|
@ -25,7 +25,7 @@ module.exports = {
|
|||
},
|
||||
settings: function(req,res) {
|
||||
var safeSettings = {
|
||||
httpNodeRoot: settings.httpNodeRoot,
|
||||
httpNodeRoot: settings.httpNodeRoot||"/",
|
||||
version: settings.version,
|
||||
user: req.user
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue