Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Paurikova2 committed Nov 20, 2024
1 parent eac9bdc commit d7d2faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/static-page/static-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d7d2faa

Please sign in to comment.