aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Kavlie <akavlie@gmail.com>2011-11-11 22:24:13 -0700
committerAaron Kavlie <akavlie@gmail.com>2011-11-11 22:24:13 -0700
commitb78400790109a88f2b4a7ef2ca8a3c096f8663a5 (patch)
treef892ee63c0a88d60cd8b35f6bd58c79b7ff52284
parent9532d082b0437e710d42dc3a564b68226f54571d (diff)
downloadreevo-webirc-b78400790109a88f2b4a7ef2ca8a3c096f8663a5.tar.gz
reevo-webirc-b78400790109a88f2b4a7ef2ca8a3c096f8663a5.zip
Remove hostname from socket io connect so it works everywhere.
-rw-r--r--public/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/app.js b/public/app.js
index c0bfb84..788a20d 100644
--- a/public/app.js
+++ b/public/app.js
@@ -3,7 +3,8 @@ $(function() {
3 window.irc = window.irc || {}; 3 window.irc = window.irc || {};
4 4
5 // socket.io init 5 // socket.io init
6 var socket = io.connect('http://localhost/'); 6 // var socket = io.connect('http://localhost/');
7 var socket = io.connect();
7 8
8 9
9 // MODELS & COLLECTIONS 10 // MODELS & COLLECTIONS