Permalink
Browse files

Remove hostname from socket io connect so it works everywhere.

  • Loading branch information...
1 parent 9532d08 commit b78400790109a88f2b4a7ef2ca8a3c096f8663a5 @akavlie committed Nov 12, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 public/app.js
View
@@ -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

0 comments on commit b784007

Please sign in to comment.