Skip to content

Commit ba4431a

Browse files
committed
fixed connection
1 parent 17b5a94 commit ba4431a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h5>active visitors</h5>
9797

9898
<script>
9999

100-
var socket = io.connect('http://localhost:3000');
100+
var socket = io.connect();
101101
var pages = {};
102102
var lastPageId = 0;
103103

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<script type="text/javascript" src="socket.io/socket.io.js"></script>
2929
<script>
30-
var socket = io.connect('http://localhost:3000');
30+
var socket = io.connect();
3131
socket.on('connect', function () {
3232
socket.send(window.location.href);
3333
});

0 commit comments

Comments
 (0)