Merge branch 'develop'
commit
b92a85aa0c
|
|
@ -1,7 +1,8 @@
|
||||||
export function getProtooUrl(peerName, roomId)
|
export function getProtooUrl(peerName, roomId)
|
||||||
{
|
{
|
||||||
const hostname = window.location.hostname;
|
const hostname = window.location.hostname;
|
||||||
const url = `wss://${hostname}:3443/?peerName=${peerName}&roomId=${roomId}`;
|
const port = window.location.port;
|
||||||
|
const url = `wss://${hostname}:${port}/?peerName=${peerName}&roomId=${roomId}`;
|
||||||
|
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue