mirror of
https://github.com/edumeet/edumeet.git
synced 2026-07-26 12:23:59 +00:00
7 lines
187 B
JavaScript
7 lines
187 B
JavaScript
export function getProtooUrl(peerName, roomId)
|
|
{
|
|
const hostname = window.location.hostname;
|
|
const url = `wss://${hostname}:3443/?peerName=${peerName}&roomId=${roomId}`;
|
|
|
|
return url;
|
|
}
|