1
0
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:
Nick O'Leary 2016-10-21 13:50:47 +01:00
parent a6803081ab
commit 3ab0d0d865

View File

@ -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
} }