chore: adjust url for API call
This commit is contained in:
parent
31a6181f20
commit
61912eb0ff
|
@ -10,8 +10,10 @@ export default function MapPage() {
|
|||
//console.log('getData() start...');
|
||||
try {
|
||||
/*TODO handle errors: https://www.valentinog.com/blog/await-react/*/
|
||||
|
||||
//TODO Make fields available via configuration!
|
||||
let url = 'https://api.entur.io/realtime/v1/gtfs-rt/vehicle-positions';
|
||||
|
||||
const res = await axios.get(url,
|
||||
{
|
||||
responseType: 'arraybuffer'
|
||||
|
|
Loading…
Reference in New Issue