Browse Source

Update comm.js

pull/54/head
Amir 6 years ago committed by GitHub
parent
commit
586b6d7f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      js/comm.js

13
js/comm.js

@ -19,7 +19,7 @@ var awaitingResponse; @@ -19,7 +19,7 @@ var awaitingResponse;
var streamConstraints;
var myMediaStream;
let wsChat;
<<<<<<< HEAD
const room = getRoom();
if(location.protocol === 'http:'){
@ -28,17 +28,6 @@ if(location.protocol === 'http:'){ @@ -28,17 +28,6 @@ if(location.protocol === 'http:'){
else{
wsChat = new WebSocket("wss://1410inc.xyz/wss/comm");
=======
const room = getRoom();
if(location.protocol === 'http:'){
wsChat = new WebSocket("ws://1410inc.xyz:8080/comm");
}
else{
wsChat = new WebSocket("wss://1410inc.xyz:8080/wss2/comm");
>>>>>>> e96cbd3cbda49ec853b9ed4d0c795806f72b122c
}
window.addEventListener('load', function(){

Loading…
Cancel
Save