fix(core): update

This commit is contained in:
2021-04-14 11:34:33 +00:00
parent 163ec2bd50
commit 12ede2be02
3 changed files with 1217 additions and 96 deletions

View File

@ -39,7 +39,7 @@ export class SmartPdf {
});
this.htmlServerInstance = plugins.http.createServer(app);
const smartnetworkInstance = new plugins.smartnetwork.SmartNetwork();
const portAvailable = smartnetworkInstance.isLocalPortAvailable(3210);
const portAvailable = smartnetworkInstance.isLocalPortUnused(3210);
this.htmlServerInstance.listen(3210, 'localhost');
this.htmlServerInstance.on('listening', () => {
this._readyDeferred.resolve();