Skip to content

Commit

Permalink
Use auto-discovery mode for socket connection to allow live reloading…
Browse files Browse the repository at this point in the history
… on mobile.
  • Loading branch information
Karthik Viswanathan committed Sep 13, 2012
1 parent 76aa4c7 commit 0c9adb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live.js
Expand Up @@ -11,7 +11,7 @@
location.pathname.lastIndexOf('/'));

// socket communication
var socket = io.connect('http://localhost:' + location.port);
var socket = io.connect();

// link tag information
var linkTags = document.querySelectorAll('link');
Expand Down

0 comments on commit 0c9adb5

Please sign in to comment.