Skip to content

Commit

Permalink
Make the example app work on https too
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal authored and maccman committed Feb 22, 2011
1 parent b272633 commit bb27028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -33,7 +33,7 @@ <h1>Juggernaut - Hello World!</h1>
logElement.value += (data + "\n");
};

var jug = new Juggernaut();
var jug = new Juggernaut({secure: ('https:' == document.location.protocol)});

jug.on("connect", function(){ log("Connected") });
jug.on("disconnect", function(){ log("Disconnected") });
Expand Down

0 comments on commit bb27028

Please sign in to comment.