mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
189bde7c9c
commit
afaf077aca
2
packages/node_modules/node-red/lib/red.js
vendored
2
packages/node_modules/node-red/lib/red.js
vendored
@ -76,7 +76,7 @@ module.exports = {
|
|||||||
apiEnabled = true;
|
apiEnabled = true;
|
||||||
server = httpServer;
|
server = httpServer;
|
||||||
} else {
|
} else {
|
||||||
runtime.init(userSettings);
|
runtime.init(userSettings, httpServer);
|
||||||
apiEnabled = false;
|
apiEnabled = false;
|
||||||
if (httpServer) {
|
if (httpServer) {
|
||||||
server = httpServer;
|
server = httpServer;
|
||||||
|
Loading…
Reference in New Issue
Block a user