From 4334e23c4d3adee929ed88fc2002a78cc401c913 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 17 Jun 2013 17:40:25 -0400 Subject: [PATCH] fixing improper use of tertiary if that hopefully resolves issue #1 --- public/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index 79b9636ce8..3cb7d0aece 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -12,7 +12,7 @@ var socket, API_URL = data.api_url; config = data; - socket = io.connect('http://' + config.socket.address + config.socket.port? ':' + config.socket.port : ''); + socket = io.connect(config.socket.address + (config.socket.port ? ':' + config.socket.port : '')); var reconnecting = false; var reconnectTries = 0;