feat(axios): adjust function axiosGetVehiclePosition

This commit is contained in:
dancingCycle 2022-09-13 14:58:29 +02:00
parent 8b234c6be9
commit f820f3e8da
1 changed files with 3 additions and 3 deletions

View File

@ -43,11 +43,11 @@ function axiosGetVehiclePosition () {
//axios.defaults.baseURL = 'https://test-tarifmatrix.vbn.de:4245';
//axios.defaults.baseURL = 'https://tarifmatrix.vbn.de:4445';
axios.defaults.baseURL = 'https://data.vbn.de';
axios.defaults.headers.get['Access-Control-Allow-Origin'] = '*';
axios.defaults.baseURL = 'https://soll.vbn.de';
//axios.defaults.headers.get['Access-Control-Allow-Origin'] = '*';
axios
.get('vehicle-position')
.get('vehicle-positions')
//handle rsp in async manner
.then((response) => {
if (response.data) {