Skip to content

Commit

Permalink
Remove hostname from socket io connect so it works everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
akavlie committed Nov 12, 2011
1 parent 9532d08 commit b784007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/app.js
Expand Up @@ -3,7 +3,8 @@ $(function() {
window.irc = window.irc || {};

// socket.io init
var socket = io.connect('http://localhost/');
// var socket = io.connect('http://localhost/');
var socket = io.connect();


// MODELS & COLLECTIONS
Expand Down

0 comments on commit b784007

Please sign in to comment.