]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/gps-tile/files/default/html/map.js
Fix HSTS for tile caches
[chef.git] / cookbooks / gps-tile / files / default / html / map.js
index af3b0d997905747ffc10d0bb89414049494fad96..766d762cebbb474c15a68b251df9e5868a85845b 100644 (file)
@@ -4,7 +4,7 @@ $(document).ready(function () {
 
   // Add GPS tile layer
   L.tileLayer("//gps-{s}.tile.openstreetmap.org/gps-lines/tile/{z}/{x}/{y}.png", {
-    attribution: "© <a target=\"_parent\" href=\"http://www.openstreetmap.org\">OpenStreetMap</a> and contributors, under an <a target=\"_parent\" href=\"http://www.openstreetmap.org/copyright\">open license</a>",
+    attribution: "© <a target=\"_parent\" href=\"https://www.openstreetmap.org\">OpenStreetMap</a> and contributors, under an <a target=\"_parent\" href=\"https://www.openstreetmap.org/copyright\">open license</a>",
     maxZoom: 18
   }).addTo(map);