api access refactored
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user