JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
have client's socket.io use same server as the page
[watch-my-terminal.git] / client.coffee
index 3cc8c87..6749a60 100644 (file)
@@ -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