mirror of https://github.com/node-red/node-red.git
Server not waiting for settings to load
parent
153fa7478f
commit
81df74dfc8
|
@ -45,7 +45,7 @@ function init(_server,_settings) {
|
|||
|
||||
function start() {
|
||||
return storage.init(settings)
|
||||
.then(settings.load(storage))
|
||||
.then(function() { return settings.load(storage)})
|
||||
.then(function() {
|
||||
if (settings.httpAdminRoot !== false) {
|
||||
require("./api").init(app,storage);
|
||||
|
|
Loading…
Reference in New Issue