Olivier-Truong commited on
Commit
e21e36a
1 Parent(s): f0f99af

Update src/chat.js

Browse files
Files changed (1) hide show
  1. src/chat.js +1 -1
src/chat.js CHANGED
@@ -1,4 +1,4 @@
1
- var socket = io.connect('http://' + document.domain + ':' + location.port); // change by https:// if your use https proxy like replit
2
  var uid = "{{ username }}";//document.cookie;//Math.floor(Math.random() * 1000000000);
3
  var iid = 0;
4
  var roomID = $('#user-id-input').val();
 
1
+ var socket = io.connect('https://' + document.domain + ':' + location.port); // change by https:// if your use https proxy like replit
2
  var uid = "{{ username }}";//document.cookie;//Math.floor(Math.random() * 1000000000);
3
  var iid = 0;
4
  var roomID = $('#user-id-input').val();