Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated io.Socket initialization to work on hosts other than localhost

Updated client
  • Loading branch information...
commit 3134940ed65cd8e832305d7c3ce823139c77243b 1 parent 0f783bc
@rauchg rauchg authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  test/chat.html
  2. +1 −1  test/client
View
2  test/chat.html
@@ -25,7 +25,7 @@
document.getElementById('text').value = '';
}
- var socket = new io.Socket('localhost', {rememberTransport: false, port: 8080});
+ var socket = new io.Socket(null, {rememberTransport: false, port: 8080});
socket.connect();
socket.addEvent('message', function(data){
var obj = JSON.parse(data);
2  test/client
@@ -1 +1 @@
-Subproject commit 1e0e9fb87dc83f97a48449ef8a6bf9c8dca2d654
+Subproject commit d643e6029ca937a1440a5eb6fd9057c0bedece7a
Please sign in to comment.
Something went wrong with that request. Please try again.