mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Corrected canonical url.
This commit is contained in:
parent
0bcfdc8028
commit
8d903c42b9
@ -21,7 +21,7 @@ export class AppComponent implements OnInit {
|
||||
this.router.events.subscribe((val) => {
|
||||
if (val instanceof NavigationEnd) {
|
||||
if (this.network === 'liquid' || this.network === 'testnet') {
|
||||
this.updateCanonicalUrlElement('https://mempool.ninja' + location.pathname);
|
||||
this.updateCanonicalUrlElement('https://' + this.network + '.mempool.ninja' + location.pathname);
|
||||
} else {
|
||||
this.updateCanonicalUrlElement('https://mempool.space' + location.pathname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user