Преглед изворни кода

v8-2795 fetch osm tiles with https

Olivier Massot пре 4 година
родитељ
комит
74d2ac1ff2
1 измењених фајлова са 2 додато и 2 уклоњено
  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 }