Change domain

This commit is contained in:
Artyom Abubakirov 2018-06-07 18:03:26 +05:00
parent 8bf131b78c
commit 88f748d2e0
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored Executable file
View File

@ -0,0 +1 @@
.idea

View File

@ -478,11 +478,11 @@ function gotCustomStream(stream) {
function startSharing(){
if(!window.stream){
console.log('windos.stream not found');
console.log('window.stream not found');
return;
}
socket = io('https://kurento-prod.fishrungames.com/');
socket = io('https://stream.gto.to/');
socket.on('connect', function(){
console.log('Connected to socket');
@ -558,7 +558,7 @@ function presenterResponse(message) {
var popup_height = 170;
chrome.windows.create({
url: "data:text/html,<title>Unique Room URL</title><h1 style='text-align:center'>Copy following private URL:</h1><input type='text' value='https://kurento-prod.fishrungames.com/?room=" + roomHash + "' style='text-align:center;width:100%;font-size:1.2em;'><p style='text-align:center'>You can share this private-session URI with fellows using email or social networks.</p>",
url: "data:text/html,<title>Unique Room URL</title><h1 style='text-align:center'>Copy following private URL:</h1><input type='text' value='https://stream.gto.to/?room=" + roomHash + "' style='text-align:center;width:100%;font-size:1.2em;'><p style='text-align:center'>You can share this private-session URI with fellows using email or social networks.</p>",
type: 'popup',
width: popup_width,
height: popup_height,