diff --git a/scripts/downloadEli.ts b/scripts/downloadEli.ts index dc6501db2..d64e50c8b 100644 --- a/scripts/downloadEli.ts +++ b/scripts/downloadEli.ts @@ -32,6 +32,14 @@ class DownloadEli extends Script { continue } + if(props.id === "Mapbox"){ + /** + * This token is managed by Martin Reifer on the 'OpenStreetMap'-account on MapBox + */ + const token = "pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJjbGZkempiNDkyandvM3lwY3M4MndpdWdzIn0.QnvRv52n3qffVEKmQa9vJA" + props.url = props.url.replace("{apikey}", token) + } + if (props.url.toLowerCase().indexOf("apikey") > 0) { continue }