Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use auto-discovery mode for socket connection to allow live reloading…

… on mobile.
  • Loading branch information...
commit 0c9adb5ae538fdeb162336d62057735b3f73a119 1 parent 76aa4c7
@karthikv authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  live.js
View
2  live.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.