diff --git a/frontend/quasar.conf.js b/frontend/quasar.conf.js index b175999..1285673 100644 --- a/frontend/quasar.conf.js +++ b/frontend/quasar.conf.js @@ -108,7 +108,7 @@ module.exports = function (ctx) { } : { // Base URL for API-Calls: PRODUCTION (build) //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') } }, diff --git a/frontend/src/pages/Profile.vue b/frontend/src/pages/Profile.vue index ebabd60..d3a76c6 100644 --- a/frontend/src/pages/Profile.vue +++ b/frontend/src/pages/Profile.vue @@ -123,7 +123,7 @@ }, methods: { fetchUserCaches: function() { - const token = JSON.parse(localStorage.getItem('userToken')); + const token = JSON.parse(localStorage.getItem('userToken')).token; this.$axios.get('/api/getMyCaches', { params: {token}} ) .then((response) => { this.startedCaches = response.data;