Skip to content

Commit 7a23fa5

Browse files
fix(client): Update location detection for socket.io
1 parent db47fbd commit 7a23fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var KARMA_URL_ROOT = require('./constants').KARMA_URL_ROOT;
66

77

88
// Connect to the server using socket.io http://socket.io
9-
var socket = io(location.protocol + location.host, {
9+
var socket = io(location.host, {
1010
reconnectionDelay: 500,
1111
reconnectionDelayMax: Infinity,
1212
timeout: 2000,

0 commit comments

Comments
 (0)