Update layout-best-fit.component.ts

pull/73/head
Pablo Fuente Pérez 2018-06-18 10:16:08 +02:00 committed by GitHub
parent 02e3d471d9
commit 26b954a1d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ export class LayoutBestFitComponent implements OnInit, OnDestroy {
});
const port = !!location.port ? (':' + location.port) : '';
const token = 'wss://' + location.hostname + location.port + '?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
const token = 'wss://' + location.hostname + port + '?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
this.session.connect(token)
.catch(error => {
console.error(error);