Fixing url and shorten url

This commit is contained in:
vladislav.khorev committed 2018-06-18 17:05:47 +00:00
1 parent 9d748e6a3f
commit 420db855ce
2 files changed
+3 -2

No files matched your search

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