From 604a37524552eadcaba6a1eda393a24558ad5472 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Tue, 14 Feb 2023 23:46:59 +0100 Subject: remove {abc} tile server prefix Those prefixes mainly exist to help browsers with their per-domain connection limit [1]: > Subdomains are used to help with browser parallel requests per domain limitation For us, we don't care about that limit, because we do not implement it (server side at least). It's even better to not have those domains, as otherwise our new connection limitation will get confused. We might think about adding them back if the tile proxy is disabled, but for now they seem to serve no purpose for us. [1]: https://wiki.openstreetmap.org/wiki/Raster_tile_providers --- fietsboek/views/tileproxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fietsboek/views/tileproxy.py b/fietsboek/views/tileproxy.py index 55d52cf..5ed79a5 100644 --- a/fietsboek/views/tileproxy.py +++ b/fietsboek/views/tileproxy.py @@ -39,7 +39,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="osm", name="OSM", - url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", + url="https://tile.openstreetmap.org/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=19, access=LayerAccess.PUBLIC, @@ -74,7 +74,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="osmde", name="OSMDE", - url="https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", + url="https://tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=19, access=LayerAccess.PUBLIC, @@ -91,7 +91,7 @@ DEFAULT_TILE_LAYERS = [ TileLayerConfig( layer_id="opentopo", name="Open Topo", - url="https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", + url="https://tile.opentopomap.org/{z}/{x}/{y}.png", layer_type=LayerType.BASE, zoom=17, access=LayerAccess.PUBLIC, -- cgit v1.2.3