mirror of https://github.com/OpenVidu/openvidu.git
fix the hardcoded port
parent
263db59bdd
commit
02e3d471d9
|
@ -90,7 +90,8 @@ export class LayoutBestFitComponent implements OnInit, OnDestroy {
|
||||||
this.updateLayout(changeFixedRatio);
|
this.updateLayout(changeFixedRatio);
|
||||||
});
|
});
|
||||||
|
|
||||||
const token = 'wss://' + location.hostname + ':4443?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
|
const port = !!location.port ? (':' + location.port) : '';
|
||||||
|
const token = 'wss://' + location.hostname + location.port + '?sessionId=' + this.sessionId + '&secret=' + this.secret + '&recorder=true';
|
||||||
this.session.connect(token)
|
this.session.connect(token)
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Reference in New Issue