+ :href="favoriteApp.computedUrl">
+ :src="`/app-center/rest/applications/illustration/${favoriteApp.id}?v=${favoriteApp.imageLastModified}`">
+ :src="`/app-center/rest/applications/illustration/${favoriteApp.id}?v=${favoriteApp.imageLastModified}`">
+ :href="favoriteApp.computedUrl">
@@ -147,7 +145,7 @@ export default {
});
},
getFavoriteApplicationsList() {
- return fetch('/portal/rest/app-center/applications/favorites', {
+ return fetch('/app-center/rest/favorites', {
method: 'GET',
credentials: 'include',
})
@@ -216,14 +214,8 @@ export default {
return this.favoriteApplicationsList;
}).finally(() => this.loading = false);
},
- logOpenApplication(id) {
- fetch(`/portal/rest/app-center/applications/logClickApplication/${id}`, {
- method: 'GET',
- credentials: 'include',
- });
- },
deleteFavoriteApplication(appId) {
- return fetch(`/portal/rest/app-center/applications/favorites/${appId}`, {
+ return fetch(`/app-center/rest/favorites/${appId}`, {
method: 'DELETE',
credentials: 'include',
})
diff --git a/app-center-webapps/src/main/webapp/vue-apps/userSetup/components/UserSetup.vue b/app-center-webapps/src/main/webapp/vue-apps/userSetup/components/UserSetup.vue
index 9883d473f..69af23264 100644
--- a/app-center-webapps/src/main/webapp/vue-apps/userSetup/components/UserSetup.vue
+++ b/app-center-webapps/src/main/webapp/vue-apps/userSetup/components/UserSetup.vue
@@ -55,7 +55,7 @@ export default {
this.canAddFavorite = canAddFavorite;
},
getAppGeneralSettings() {
- return fetch('/portal/rest/app-center/settings', {
+ return fetch('/app-center/rest/settings', {
method: 'GET',
credentials: 'include',
})