api access refactored

This commit is contained in:
2020-07-14 22:27:13 +02:00
parent 5052e2b60e
commit 7cd3802bf7
13 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export default {
},
beforeCreate () {
console.log('operum this.$route', this.$route)
REST.get(`/indexOperum/` + this.$route.params.id, {})
REST.get(`${apipath}/indexOperum/` + this.$route.params.id, {})
.then(({ data }) => {
console.log('operum REST: data', data)
if (data.content) {