1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Attach server object to the right part of runtime api

This commit is contained in:
Nick O'Leary 2018-11-02 09:44:24 +00:00
parent 2353f12cd6
commit ffa6dea452
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -59,7 +59,7 @@ module.exports = {
apiEnabled = true;
server = runtime._.adminApi.server;
runtime.server = runtime._.adminApi.server;
runtime._.server = runtime._.adminApi.server;
} else {
runtime.init(userSettings,redUtil);
apiEnabled = false;