fixed delete cache
This commit is contained in:
parent
8c647b0b09
commit
a9450d448f
@ -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')
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@ -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) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user