feat(axios): adjust function axiosGetVehiclePosition
This commit is contained in:
parent
8b234c6be9
commit
f820f3e8da
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue