mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
set default when root is not defined
This commit is contained in:
parent
4667e76c6b
commit
889489e33e
2
packages/node_modules/node-red/red.js
vendored
2
packages/node_modules/node-red/red.js
vendored
@ -316,7 +316,7 @@ httpsPromise.then(function(startupHttps) {
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
sp.subRoot = formatRoot(sp.root);
|
||||
sp.subRoot = formatRoot(sp.root || "/");
|
||||
sp.root = formatRoot(path.posix.join(settings.httpStaticRoot,sp.subRoot));
|
||||
}
|
||||
settings.httpStatic = sanitised.length ? sanitised : false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user