Dashboard: update info path from /info to /openvidu/info

pull/553/head
pabloFuente 2020-10-14 11:45:58 +02:00
parent d9127e8c56
commit 6f33bf5def
1 changed files with 1 additions and 1 deletions

View File

@ -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');