Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/fieldpapers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion config/providers.json
Original file line number Diff line number Diff line change
@@ -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": "<a href='https://openstreetmap.org/copyright' target='_blank'>© OpenStreetMap</a>"
},
Expand Down