From: Grant Slater Date: Wed, 19 Aug 2020 20:53:48 +0000 (+0100) Subject: imagery: fix cdn url X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9fba408d66cc8aeb80b0f2497fc7bdd85b90e3bf imagery: fix cdn url --- diff --git a/cookbooks/imagery/templates/default/imagery.js.erb b/cookbooks/imagery/templates/default/imagery.js.erb index e63ea27d5..56ac172da 100644 --- a/cookbooks/imagery/templates/default/imagery.js.erb +++ b/cookbooks/imagery/templates/default/imagery.js.erb @@ -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: "© OpenStreetMap and contributors, under an open license", maxZoom: 19 }), "OpenStreetMap");