diff --git a/services/layout.service.ts b/services/layout.service.ts index f5e9f53c..4d00aa10 100644 --- a/services/layout.service.ts +++ b/services/layout.service.ts @@ -20,8 +20,8 @@ export class LayoutService { } } } - createCSS( pid: string, suffix = null, layout = null): Observable { - return this.http.post("http://scoobydoo.di.uoa.gr:4200/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout ); + createCSS( pid: string, connectPortalUrl:string, suffix = null, layout = null): Observable { + return this.http.post(connectPortalUrl + "/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout ); } saveLayout(properties: EnvProperties, pid: string, layout: Layout): Observable { diff --git a/utils/properties/env-properties.ts b/utils/properties/env-properties.ts index 4cd61786..2d2727c4 100644 --- a/utils/properties/env-properties.ts +++ b/utils/properties/env-properties.ts @@ -143,4 +143,5 @@ export interface EnvProperties { footerGrantText?: string; egiNotebookLink?: string; portalBuildTime?; + connectPortalUrl?; }