🌐 default tiles server copyright link to english version
Simon Mulquin simon@octree.ch
Mon, 27 May 2024 06:39:04 +0000
3 files changed,
4 insertions(+),
4 deletions(-)
M
README.md
→
README.md
@@ -35,9 +35,9 @@ Copy the mapbox token in the .env file as a value for "MAPBOX_TOKEN" variable to start using geocoding and map features;
#### Tiles server -You can use the TOKEN_FREE_TILES variables in the .env file to setup a tiles server used by the map features. By default, we use the [© OpenStreetMap ](https://www.openstreetmap.org/copyright) test server. +You can use the TOKEN_FREE_TILES variables in the .env file to setup a tiles server used by the map features. By default, we use the [© OpenStreetMap ](https://www.openstreetmap.org/copyright/en) test server. -Make sure to respect the copyrights of the tiles server you setup, or those from [© OpenStreetMap ](https://www.openstreetmap.org/copyright) if you keep the default settings. +Make sure to respect the copyrights of the tiles server you setup, or those from [© OpenStreetMap ](https://www.openstreetmap.org/copyright/en) if you keep the default settings. > :warning: Be aware that some services might require a token to use their tiles server. >
M
frontend/.env.example
→
frontend/.env.example
@@ -19,7 +19,7 @@ MAPBOX_TOKEN=
MAPBOX_URL=https://api.mapbox.com/ #TOKEN_FREE_TILES_URL=https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png -#TOKEN_FREE_TILES_LAYER_ATTRIBUTION=© <a target="_blank" href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors; +#TOKEN_FREE_TILES_LAYER_ATTRIBUTION=© <a target="_blank" href="https://www.openstreetmap.org/copyright/en">OpenStreetMap</a> contributors; # FALLBACK_LANGUAGE=en
M
frontend/containers/Map/Map.tsx
→
frontend/containers/Map/Map.tsx
@@ -10,7 +10,7 @@ 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
const TOKEN_FREE_TILES_LAYER_ATTRIBUTION = process.env.TOKEN_FREE_TILES_LAYER_ATTRIBUTION || - '© <a target="_blank" href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'; + '© <a target="_blank" href="https://www.openstreetmap.org/copyright/en">OpenStreetMap</a> contributors'; const Map = () => { const markers = useMapStore(s => s.markers);