diff --git a/README.md b/README.md index 276d32b..3472742 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ they are available to the environment in which Rails is running. moves to the state 'complete', fp-web will `POST` the JSON representation of the atlas to each URL. * `ATLAS_INDEX_HEADER_TILELAYER` - A [Leaflet TileLayer urlTemplate](https://leafletjs.com/reference.html#tilelayer). Optional. - Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png` + Providing this url will override the header basemaps for the atlas index pages. Defaults to `https://tile.openstreetmap.org/{Z}/{X}/{Y}.png` * `DISABLE_LOGIN_CONFIRMATIONS` - A value of `true` will not require users to confirm their accounts after registration and will not send confirmation emails. Optional. Defaults to `false` -- registration confirmations are required diff --git a/config/initializers/fieldpapers.rb b/config/initializers/fieldpapers.rb index c313dd1..738cfe5 100644 --- a/config/initializers/fieldpapers.rb +++ b/config/initializers/fieldpapers.rb @@ -9,7 +9,7 @@ module FieldPapers PERSIST = ENV["PERSIST"] || "s3" OSM_BASE_URL = ENV["OSM_BASE_URL"] || "https://www.openstreetmap.org" ATLAS_COMPLETE_WEBHOOKS = ENV["ATLAS_COMPLETE_WEBHOOKS"] || "" - ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png" + ATLAS_INDEX_HEADER_TILELAYER = ENV['ATLAS_INDEX_HEADER_TILELAYER'] || "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png" if ENV["DEFAULT_CENTER"].present? DEFAULT_CENTER = ENV["DEFAULT_CENTER"] diff --git a/config/providers.json b/config/providers.json index f882b7e..79e6558 100644 --- a/config/providers.json +++ b/config/providers.json @@ -1,7 +1,7 @@ { "openstreetmap": { "label": "OpenStreetMap", - "template": "https://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png", + "template": "https://tile.openstreetmap.org/{Z}/{X}/{Y}.png", "options": { "attribution": "© OpenStreetMap" },