Bladeren bron

v8-2795 fetch osm tiles with https

Olivier Massot 4 jaren geleden
bovenliggende
commit
74d2ac1ff2
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      components/Ui/Map/Structures.vue

+ 2 - 2
components/Ui/Map/Structures.vue

@@ -97,8 +97,8 @@ export default Vue.extend({
   async mounted () {
     const defaultCenter: L.LatLngTuple = [46.71, 1.94]
     const defaultZoom: number = 5.5
-    const layerSource: string = 'http://{s}.tile.osm.org/{z}/{x}/{y}.png'
-    const attribution: string = '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
+    const layerSource: string = 'https://{s}.tile.osm.org/{z}/{x}/{y}.png'
+    const attribution: string = '&copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors'
 
     const options: L.MapOptions = { scrollWheelZoom: false, zoomSnap: 0.25 }