diff --git a/static/js/index.js b/static/js/index.js index 8d5f778..991c45e 100755 --- a/static/js/index.js +++ b/static/js/index.js @@ -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) */ diff --git a/webrun.sh b/webrun.sh old mode 100644 new mode 100755