trying to get the socket to connect

This commit is contained in:
Rob Dodson 2012-06-04 23:07:51 -07:00
parent a9d774fc17
commit b7dae81942
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
var socket = io.connect('http://localhost'); var socket = io.connect(window.location.hostname);
socket.on('status', function (data) { socket.on('status', function (data) {
$('#status').html(data.status); $('#status').html(data.status);