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) {
|
settings: function(req,res) {
|
||||||
var safeSettings = {
|
var safeSettings = {
|
||||||
httpNodeRoot: settings.httpNodeRoot,
|
httpNodeRoot: settings.httpNodeRoot||"/",
|
||||||
version: settings.version,
|
version: settings.version,
|
||||||
user: req.user
|
user: req.user
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue