Use https where supported

Refs #2129
This commit is contained in:
John Firebaugh
2014-02-19 09:40:22 -08:00
parent 9e1c1cee06
commit 69960d75bd
3 changed files with 4 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ iD.BackgroundSource.Bing = function(data, dispatch) {
var bing = iD.BackgroundSource(data),
key = 'Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU', // Same as P2 and JOSM
url = 'http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial?include=ImageryProviders&key=' +
url = 'https://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial?include=ImageryProviders&key=' +
key + '&jsonp={callback}',
providers = [];
@@ -84,7 +84,7 @@ iD.BackgroundSource.Bing = function(data, dispatch) {
dispatch.change();
});
var template = 'http://ecn.t{t}.tiles.virtualearth.net/tiles/a{u}.jpeg?g=587&mkt=en-gb&n=z',
var template = 'https://ecn.t{t}.tiles.virtualearth.net/tiles/a{u}.jpeg?g=587&mkt=en-gb&n=z',
subdomains = [0, 1, 2, 3];
bing.url = function(coord) {

View File

@@ -1,6 +1,6 @@
iD.taginfo = function() {
var taginfo = {},
endpoint = 'http://taginfo.openstreetmap.org/api/4/',
endpoint = 'https://taginfo.openstreetmap.org/api/4/',
tag_sorts = {
point: 'count_nodes',
vertex: 'count_nodes',

View File

@@ -1,6 +1,6 @@
iD.wikipedia = function() {
var wiki = {},
endpoint = 'http://en.wikipedia.org/w/api.php?';
endpoint = 'https://en.wikipedia.org/w/api.php?';
wiki.search = function(lang, query, callback) {
lang = lang || 'en';