Pass httpServer to runtime even when httpAdmin disabled

Fixes #2272
This commit is contained in:
Nick O'Leary 2019-08-21 11:12:15 +01:00
parent 189bde7c9c
commit afaf077aca
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ module.exports = {
apiEnabled = true;
server = httpServer;
} else {
runtime.init(userSettings);
runtime.init(userSettings, httpServer);
apiEnabled = false;
if (httpServer) {
server = httpServer;