Corrected canonical url.
This commit is contained in:
parent
8ca4ac90e0
commit
d5ee1f0fdc
@ -21,7 +21,7 @@ export class AppComponent implements OnInit {
|
|||||||
this.router.events.subscribe((val) => {
|
this.router.events.subscribe((val) => {
|
||||||
if (val instanceof NavigationEnd) {
|
if (val instanceof NavigationEnd) {
|
||||||
if (this.network === 'liquid' || this.network === 'testnet') {
|
if (this.network === 'liquid' || this.network === 'testnet') {
|
||||||
this.updateCanonicalUrlElement('https://mempool.ninja' + location.pathname);
|
this.updateCanonicalUrlElement('https://' + this.network + '.mempool.ninja' + location.pathname);
|
||||||
} else {
|
} else {
|
||||||
this.updateCanonicalUrlElement('https://mempool.space' + location.pathname);
|
this.updateCanonicalUrlElement('https://mempool.space' + location.pathname);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user