Fixing url and shorten url

This commit is contained in:
Vladislav Khorev 2018-06-18 17:05:47 +00:00
parent 9d748e6a3f
commit 420db855ce
2 changed files with 3 additions and 2 deletions

View File

@ -30,11 +30,11 @@ $(function() {
let url_string = window.location.href; let url_string = window.location.href;
let url = new URL(url_string); let url = new URL(url_string);
room = url.searchParams.get('room'); room = url.searchParams.get('r');
console.log(room); console.log(room);
socket = io('https://stream.gto.to/'); socket = io('https://gto.to/');
$('#call').on('click', function(e) { presenter(); e.preventDefault(); } ); $('#call').on('click', function(e) { presenter(); e.preventDefault(); } );
$('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } ); $('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } );
@ -200,6 +200,7 @@ function currentRoom() {
return room; return room;
} }
/** /**
* Lightbox utility (to display media pipeline image in a modal dialog) * Lightbox utility (to display media pipeline image in a modal dialog)
*/ */

0
webrun.sh Normal file → Executable file
View File