all repos — caroster @ 30926add195984283c3d9ae7431ebcf05c719182

[Octree] Group carpool to your event https://caroster.io

🌐 default tiles server copyright link to english version
Simon Mulquin simon@octree.ch
Mon, 27 May 2024 06:39:04 +0000
commit

30926add195984283c3d9ae7431ebcf05c719182

parent

ff83faadead96731bb12e1fbcc61e8d716137f32

3 files changed, 4 insertions(+), 4 deletions(-)

jump to
M README.mdREADME.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.examplefrontend/.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.tsxfrontend/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);