fix(core): update
This commit is contained in:
parent
6792acd533
commit
1d84cefa84
@ -160,12 +160,13 @@ export class Universe {
|
|||||||
this.smartsocket.addSocketFunction(socketFunctionSubscription);
|
this.smartsocket.addSocketFunction(socketFunctionSubscription);
|
||||||
this.smartsocket.addSocketFunction(socketFunctionProcessMessage);
|
this.smartsocket.addSocketFunction(socketFunctionProcessMessage);
|
||||||
|
|
||||||
// add smartsocket to the running smartexpress app
|
// start the server
|
||||||
await this.smartsocket.setExternalServer('smartexpress', this.smartexpressServer);
|
|
||||||
// start everything
|
|
||||||
if (!this.options.externalServer) {
|
if (!this.options.externalServer) {
|
||||||
await this.smartexpressServer.start();
|
await this.smartexpressServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// add smartsocket to the running smartexpress app
|
||||||
|
await this.smartsocket.setExternalServer('smartexpress', this.smartexpressServer);
|
||||||
await this.smartsocket.start();
|
await this.smartsocket.start();
|
||||||
plugins.smartlog.defaultLogger.log('success', 'started universe');
|
plugins.smartlog.defaultLogger.log('success', 'started universe');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user