diff --git a/src/app/static-page/static-page.component.ts b/src/app/static-page/static-page.component.ts index 384d3252a6e..bb19403a704 100644 --- a/src/app/static-page/static-page.component.ts +++ b/src/app/static-page/static-page.component.ts @@ -103,7 +103,7 @@ export class StaticPageComponent implements OnInit { private redirectToAbsoluteLink(redirectUrl: string, href: string | null, namespacePrefix: string): void { if (href.startsWith(StaticPageComponent.no_static)) { - href = href.replace(StaticPageComponent.no_static,''); + href = href.replace(StaticPageComponent.no_static, ''); } const absoluteUrl = new URL(href, redirectUrl.replace(namespacePrefix, '')); window.location.href = absoluteUrl.href;