diff --git a/server.ts b/server.ts index 7529b1d..d1f89ce 100644 --- a/server.ts +++ b/server.ts @@ -75,7 +75,7 @@ function buildCss(portal: string, suffix = null, variables: {} = null, customCss } function buildAll(res: Response = null) { - let layoutsURL = properties.adminToolsAPIURL + '/community/layouts'; + let layoutsURL = properties.adminToolsAPIURL + 'community/layouts'; axios.get(layoutsURL).then(response => { if (response.data && Array.isArray(response.data) && response.data.length > 0) { response.data.forEach((layout: Layout) => { diff --git a/src/app/community/community.component.ts b/src/app/community/community.component.ts index 2a59aac..02a4c2b 100644 --- a/src/app/community/community.component.ts +++ b/src/app/community/community.component.ts @@ -88,11 +88,11 @@ export class CommunityComponent { getPagePlugins() { this.showLoading = true; - this.subscriptions.push(this._pluginsService.getPluginTemplatesByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url.split('?')[0] ).subscribe( + this.subscriptions.push(this._pluginsService.getPluginTemplatesByPageRoute(this.community.communityId, this._router.url.split('?')[0] ).subscribe( templates => { this.pluginTemplates = templates; - this.subscriptions.push(this._pluginsService.getPluginsByPageRoute(this.properties.adminToolsAPIURL, this.community.communityId, this._router.url.split('?')[0]).subscribe( + this.subscriptions.push(this._pluginsService.getPluginsByPageRoute(this.community.communityId, this._router.url.split('?')[0]).subscribe( plugins => { this.plugins = plugins; this.pluginsByPlacement = new Map(); diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 49528c9..1593ea6 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 49528c98746591fe519c49944119274fbb97efb3 +Subproject commit 1593ea6ed9e62931800b62f4d4d4787228043d51