From 91f9da0f067800e82bec472e2a9d8099a479c48e Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Tue, 14 Nov 2017 13:42:23 -0500 Subject: [PATCH] Switch openstreetcam from http to https to avoid mixed content issues (closes #4527) --- modules/services/openstreetcam.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/openstreetcam.js b/modules/services/openstreetcam.js index fd3f81e09..c1df3415a 100644 --- a/modules/services/openstreetcam.js +++ b/modules/services/openstreetcam.js @@ -21,7 +21,7 @@ import { geoExtent } from '../geo'; import { utilQsString, utilRebind } from '../util'; -var apibase = 'http://openstreetcam.org', +var apibase = 'https://openstreetcam.org', maxResults = 1000, tileZoom = 14, dispatch = d3_dispatch('loadedImages'), @@ -434,7 +434,7 @@ export default { .append('a') .attr('class', 'captured_by') .attr('target', '_blank') - .attr('href', 'http://openstreetcam.org/user/' + encodeURIComponent(d.captured_by)) + .attr('href', 'https://openstreetcam.org/user/' + encodeURIComponent(d.captured_by)) .text('@' + d.captured_by); attribution @@ -457,7 +457,7 @@ export default { .append('a') .attr('class', 'image_link') .attr('target', '_blank') - .attr('href', 'http://openstreetcam.org/details/' + d.sequence_id + '/' + d.sequence_index) + .attr('href', 'https://openstreetcam.org/details/' + d.sequence_id + '/' + d.sequence_index) .text('openstreetcam.org'); } return this;