- API routes refactoring

- setup:dev artisan command
This commit is contained in:
Peter Papp
2021-02-25 21:32:32 +01:00
parent 2f332197e6
commit 55ba82442a
24 changed files with 559 additions and 366 deletions

View File

@@ -48,7 +48,7 @@ const actions = {
}, 300)
axios
.get(getters.api + '/logout')
.get(getters.api + '/user/logout')
.then(() => {
clearTimeout(popup)
commit('DESTROY_DATA')
@@ -93,7 +93,7 @@ const actions = {
context.commit('ADD_TO_FAVOURITES', pushToFavorites)
axios
.post(context.getters.api + '/folders/favourites', {
.post(context.getters.api + '/browse/folders/favourites', {
folders: addFavourites
})
.catch(() => {