mirror of https://github.com/OpenVidu/openvidu.git
Dashboard: update info path from /info to /openvidu/info
parent
d9127e8c56
commit
6f33bf5def
|
@ -47,7 +47,7 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||||
const protocol = location.protocol.includes('https') ? 'wss://' : 'ws://';
|
const protocol = location.protocol.includes('https') ? 'wss://' : 'ws://';
|
||||||
const port = (location.port) ? (':' + location.port) : '';
|
const port = (location.port) ? (':' + location.port) : '';
|
||||||
|
|
||||||
this.websocket = new WebSocket(protocol + location.hostname + port + '/info');
|
this.websocket = new WebSocket(protocol + location.hostname + port + '/openvidu/info');
|
||||||
|
|
||||||
this.websocket.onopen = (event) => {
|
this.websocket.onopen = (event) => {
|
||||||
console.log('Info websocket connected');
|
console.log('Info websocket connected');
|
||||||
|
|
Loading…
Reference in New Issue