Skip to content

Commit

Permalink
fix(client): Update location detection for socket.io
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed May 29, 2015
1 parent db47fbd commit 7a23fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.js
Expand Up @@ -6,7 +6,7 @@ var KARMA_URL_ROOT = require('./constants').KARMA_URL_ROOT;


// Connect to the server using socket.io http://socket.io
var socket = io(location.protocol + location.host, {
var socket = io(location.host, {
reconnectionDelay: 500,
reconnectionDelayMax: Infinity,
timeout: 2000,
Expand Down

0 comments on commit 7a23fa5

Please sign in to comment.