api access refactored
This commit is contained in:
@@ -40,7 +40,7 @@ export default {
|
||||
},
|
||||
beforeCreate () {
|
||||
console.log('nominum this.$route', this.$route)
|
||||
REST.get(`/indexNominum/` + this.$route.params.id, {})
|
||||
REST.get(`${apipath}/indexNominum/` + this.$route.params.id, {})
|
||||
.then(({ data }) => {
|
||||
console.log('nominum REST: data', data)
|
||||
if (data.content) {
|
||||
|
||||
Reference in New Issue
Block a user