We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8bbdda commit c986eefCopy full SHA for c986eef
client/main.js
@@ -7,7 +7,7 @@ var KARMA_URL_ROOT = require('./constants').KARMA_URL_ROOT;
7
8
// connect socket.io
9
// https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO
10
-var socket = io.connect('http://' + location.host, {
+var socket = io.connect(location.protocol + '//' + location.host, {
11
'reconnection delay': 500,
12
'reconnection limit': 2000,
13
'resource': KARMA_URL_ROOT.substr(1) + 'socket.io',
0 commit comments