Merge pull request #345 from okfn/345-dataproxy-ssl

Dataproxy backend does not work on ssl pages
This commit is contained in:
Rufus Pollock 2013-04-30 11:23:00 -07:00
commit 4d5fa4e6ea

View File

@ -5,7 +5,7 @@ this.recline.Backend.DataProxy = this.recline.Backend.DataProxy || {};
(function(my) {
my.__type__ = 'dataproxy';
// URL for the dataproxy
my.dataproxy_url = 'http://jsonpdataproxy.appspot.com';
my.dataproxy_url = '//jsonpdataproxy.appspot.com';
// Timeout for dataproxy (after this time if no response we error)
// Needed because use JSONP so do not receive e.g. 500 errors
my.timeout = 5000;