]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: fix cdn url
authorGrant Slater <git@firefishy.com>
Wed, 19 Aug 2020 20:53:48 +0000 (21:53 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 19 Aug 2020 20:53:48 +0000 (21:53 +0100)
cookbooks/imagery/templates/default/imagery.js.erb

index e63ea27d5d4e967694fe2b95722b0feb84753cbc..56ac172da1a60b9ec44a1d830bbe54bf5a17ef0e 100644 (file)
@@ -8,7 +8,7 @@ function createMap(divName) {
   var layers = L.control.layers(null, null, {collapsed:false}).addTo(map);
 
   // Add OpenStreetMap layer
-  layers.addBaseLayer(L.tileLayer("https://cdn-fastly-test.tile.openstreetmap.org/cgi-bin/debug/{z}/{x}/{y}.png", {
+  layers.addBaseLayer(L.tileLayer("https://cdn-fastly-test.tile.openstreetmap.org/{z}/{x}/{y}.png", {
     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: 19
   }), "OpenStreetMap");