diff --git a/frontend/quasar.conf.js b/frontend/quasar.conf.js index d1aadbd..22e0e74 100644 --- a/frontend/quasar.conf.js +++ b/frontend/quasar.conf.js @@ -113,8 +113,8 @@ module.exports = function (ctx) { API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching') } : { // Base URL for API-Calls: PRODUCTION (build) - //API: JSON.stringify('http://seserver.se.hs-heilbronn.de:9080/buga19geocaching') - API: JSON.stringify('http://localhost:8080') + API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching') + //API: JSON.stringify('http://localhost:8080') } }, diff --git a/frontend/src/pages/Overview.vue b/frontend/src/pages/Overview.vue index 902d15d..89157e5 100644 --- a/frontend/src/pages/Overview.vue +++ b/frontend/src/pages/Overview.vue @@ -145,8 +145,8 @@ editCache() { }, deleteCache(id) { - console.log('delete cache: ' + id) - this.$axios.delete('/api/deleteCache', {params: {cacheID: id}}) + console.log('delete cache: ' + id); + this.$axios.get('/api/deleteCache', {params: {cacheID: id}}) .then((response) => { this.fetchAllCaches() }).catch((error) => {