Permalink
Browse files

Made the push.js file able to take ssl targets

  • Loading branch information...
1 parent 8f0f1aa commit d70ce03a6cd8225f1b78f3c8ed6bbd2d2b102a37 @jcwilk committed Mar 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 public/push.js
View
@@ -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({
@@ -31,7 +31,7 @@ NodePush = function(){
}
}
- var host = 'pushserver.duostack.net';
+ var host = 'https://pushserver.duostack.net';
function setHost(newHost){
host = newHost
}

0 comments on commit d70ce03

Please sign in to comment.