From b02630f149b0cc5fa9257504a4f4c146af2e0750 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 31 Jan 2013 20:58:03 -0500 Subject: [PATCH] have client's socket.io use same server as the page --- client.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.coffee b/client.coffee index 3cc8c87..6749a60 100644 --- a/client.coffee +++ b/client.coffee @@ -58,7 +58,7 @@ $ -> $body = $('body') $body.css backgroundColor: "##{palette[0]}", color: "##{palette[7]}" - socket = io.connect('http://localhost') + socket = io.connect('/') color_to_css = (i) -> # handle inverse bit -- 1.7.10.4