DNS: use https tiles
authorGrant Slater <git@firefishy.com>
Wed, 5 Feb 2014 19:46:35 +0000 (19:46 +0000)
committerGrant Slater <git@firefishy.com>
Wed, 5 Feb 2014 19:46:35 +0000 (19:46 +0000)
cookbooks/dns/files/default/html/dns.js

index caf3cedb820d3dccd309f90682b08faa13f2c5b1..40b81a872afbaf5a48d50ea0d39d18887c003ec7 100644 (file)
@@ -3,7 +3,7 @@ function createMap(divName, jsonFile) {
   var map = L.map(divName);
 
   // Add OpenStreetMap layer
-  L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
+  L.tileLayer("https://{s}.tile.openstreetmap.org/{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>",
     maxZoom: 18
   }).addTo(map);