]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: do not use abc subdomains in js
authorGrant Slater <github@firefishy.com>
Thu, 7 Dec 2023 09:35:27 +0000 (09:35 +0000)
committerGrant Slater <github@firefishy.com>
Thu, 7 Dec 2023 09:35:27 +0000 (09:35 +0000)
cookbooks/imagery/resources/layer.rb

index dc1fd51bb1189b5b5592d0f70b64253f93d8e96c..7a376fdd1bc1bb5a0cda3f2db2147306a5a7804c 100644 (file)
@@ -49,7 +49,7 @@ action :create do
     mode "644"
     content YAML.dump(:name => new_resource.layer,
                       :title => new_resource.title || new_resource.layer,
-                      :url => "//{s}.#{new_resource.site}/layer/#{new_resource.layer}/{z}/{x}/{y}.png",
+                      :url => "//#{new_resource.site}/layer/#{new_resource.layer}/{z}/{x}/{y}.png",
                       :attribution => new_resource.copyright,
                       :default => new_resource.default_layer,
                       :maxZoom => new_resource.max_zoom,