Skip to content

Commit

Permalink
Set leaflet tiles to Carto
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Sep 19, 2024
1 parent 7eadbc4 commit 4e6000f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fragdenstaat_de/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,3 +850,13 @@ def FROIDE_CONFIG(self):

PAPERLESS_API_URL = os.environ.get("PAPERLESS_API_URL", "")
PAPERLESS_API_TOKEN = os.environ.get("PAPERLESS_API_TOKEN", "")

LEAFLET_CONFIG = {
"TILES": [
(
"Carto",
"//cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png",
'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attribution">CARTO</a>',
)
]
}

0 comments on commit 4e6000f

Please sign in to comment.