瀏覽代碼

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 }