]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: fix file extension
authorGrant Slater <git@firefishy.com>
Mon, 30 May 2016 22:37:25 +0000 (23:37 +0100)
committerGrant Slater <git@firefishy.com>
Mon, 30 May 2016 22:37:25 +0000 (23:37 +0100)
cookbooks/imagery/resources/layer.rb

index d2aa62a34f33946285a7659589a0407a51186dd4..86e514cd2842e16c419d47014169af01da9e3876 100644 (file)
@@ -51,7 +51,7 @@ action :create do
       path "/srv/imagery/layers/#{site}/#{layer}.yml"
     end
     content YAML.dump(:name => layer,
-                      :url => "http://#{site}/layer/#{layer}/{z}/{x}/{y}.#{extension}",
+                      :url => "http://#{site}/layer/#{layer}/{z}/{x}/{y}.png",
                       :attribution => copyright,
                       :maxZoom => max_zoom)
   end