Fix Liquid URL from block height search

This commit is contained in:
natsoni 2026-08-07 12:41:24 +02:00
parent 3b6ed8bde7
commit 38102aa387
No known key found for this signature in database
GPG key ID: 5554443C889C720E

View file

@ -226,7 +226,7 @@ export class BlockComponent implements OnInit, OnDestroy {
switchMap((hash) => {
this.blockHash = hash;
this.location.replaceState(
this.router.createUrlTree([(this.network ? '/' + this.network : '') + '/block/', hash]).toString()
this.router.createUrlTree([this.relativeUrlPipe.transform('/block/'), hash]).toString()
);
this.seoService.updateCanonical(this.location.path());
return this.apiService.getBlock$(hash).pipe(