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
@@ -34,7 +34,7 @@ export default {
items: []
}),
beforeCreate () {
REST.get(`/indexLocorum`, {})
REST.get(`${apipath}/indexLocorum`, {})
.then(({ data }) => {
console.log('index locorum REST: data', data)
if (data.content.length) {