Permalink
Browse files

fixed connection

  • Loading branch information...
1 parent 17b5a94 commit ba4431af17b3ae088d3f6f2969b73ad0f891623a @ccoenraets committed Oct 10, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 public/dashboard.html
  2. +1 −1 public/index.html
View
@@ -97,7 +97,7 @@ <h5>active visitors</h5>
<script>
- var socket = io.connect('http://localhost:3000');
+ var socket = io.connect();
var pages = {};
var lastPageId = 0;
View
@@ -27,7 +27,7 @@
<script type="text/javascript" src="socket.io/socket.io.js"></script>
<script>
- var socket = io.connect('http://localhost:3000');
+ var socket = io.connect();
socket.on('connect', function () {
socket.send(window.location.href);
});

0 comments on commit ba4431a

Please sign in to comment.