mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Handle missing httpNodeRoot setting properly
This commit is contained in:
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
Block a user