Update RedirectComponent to use window.location.href for external navigation instead of router.navigateByUrl.

This commit is contained in:
akastijn 2025-11-13 21:18:10 +01:00
parent 19bc6fc8e3
commit 5d9bf922a4

View File

@ -25,7 +25,7 @@ export class RedirectComponent implements OnInit {
if (type) {
const target = this.getRedirectTarget(type);
if (target) {
this.router.navigateByUrl(target).then();
window.location.href = target;
} else {
this.router.navigate(['/']).then();
}