Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made the push.js file able to take ssl targets

  • Loading branch information...
commit d70ce03a6cd8225f1b78f3c8ed6bbd2d2b102a37 1 parent 8f0f1aa
John Wilkinson authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 public/push.js
4 public/push.js
... ... @@ -1,6 +1,6 @@
1 1 NodePush = function(){
2 2 function pollerFactory(channel,callback,sequence){
3   - var url = 'http://'+host+'/m/'+channel+'.json?';
  3 + var url = host+'/m/'+channel+'.json?';
4 4 if(sequence !== undefined) url+= 's='+sequence+'&';
5 5 url+= 'callback=_jqjsp';
6 6 $.jsonp({
@@ -31,7 +31,7 @@ NodePush = function(){
31 31 }
32 32 }
33 33
34   - var host = 'pushserver.duostack.net';
  34 + var host = 'https://pushserver.duostack.net';
35 35 function setHost(newHost){
36 36 host = newHost
37 37 }

0 comments on commit d70ce03

Please sign in to comment.
Something went wrong with that request. Please try again.