Merge branch 'develop' into frontend/robin
This commit is contained in:
commit
0173cb28c6
@ -108,7 +108,7 @@ module.exports = function (ctx) {
|
|||||||
}
|
}
|
||||||
: { // Base URL for API-Calls: PRODUCTION (build)
|
: { // Base URL for API-Calls: PRODUCTION (build)
|
||||||
//API: JSON.stringify('http://se.hs-heilbronn.de:8090')
|
//API: JSON.stringify('http://se.hs-heilbronn.de:8090')
|
||||||
API: JSON.stringify('http://localhost:8080')
|
API: JSON.stringify('http://seserver.se.hs-heilbronn.de:8090/buga19geocaching')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -123,7 +123,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchUserCaches: function() {
|
fetchUserCaches: function() {
|
||||||
const token = JSON.parse(localStorage.getItem('userToken'));
|
const token = JSON.parse(localStorage.getItem('userToken')).token;
|
||||||
this.$axios.get('/api/getMyCaches', { params: {token}} )
|
this.$axios.get('/api/getMyCaches', { params: {token}} )
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
this.startedCaches = response.data;
|
this.startedCaches = response.data;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user