diff --git a/src/app/core/data/root-data.service.ts b/src/app/core/data/root-data.service.ts index 07d2de32ef..ef542199dd 100644 --- a/src/app/core/data/root-data.service.ts +++ b/src/app/core/data/root-data.service.ts @@ -129,7 +129,7 @@ export class RootDataService { * Set to sale the root endpoint cache hit */ invalidateRootCache() { - this.requestService.setStaleByHrefSubstring('server/api'); + this.requestService.setStaleByHrefSubstring(this.halService.getRootHref()); } } /* tslint:enable:max-classes-per-file */