Skip to content

Commit

Permalink
Made the push.js file able to take ssl targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwilk committed Mar 28, 2011
1 parent 8f0f1aa commit d70ce03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/push.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NodePush = function(){
function pollerFactory(channel,callback,sequence){
var url = 'http://'+host+'/m/'+channel+'.json?';
var url = host+'/m/'+channel+'.json?';
if(sequence !== undefined) url+= 's='+sequence+'&';
url+= 'callback=_jqjsp';
$.jsonp({
Expand Down Expand Up @@ -31,7 +31,7 @@ NodePush = function(){
}
}

var host = 'pushserver.duostack.net';
var host = 'https://pushserver.duostack.net';
function setHost(newHost){
host = newHost
}
Expand Down

0 comments on commit d70ce03

Please sign in to comment.