Skip to content

Commit

Permalink
fixed connection
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoenraets committed Oct 10, 2012
1 parent 17b5a94 commit ba4431a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit ba4431a

Please sign in to comment.