From 8d903c42b9be58ad736046d7aba7089738f12057 Mon Sep 17 00:00:00 2001 From: softsimon Date: Mon, 30 Mar 2020 01:53:39 +0700 Subject: [PATCH] Corrected canonical url. --- frontend/src/app/components/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/app/app.component.ts b/frontend/src/app/components/app/app.component.ts index 22124990c..047f80257 100644 --- a/frontend/src/app/components/app/app.component.ts +++ b/frontend/src/app/components/app/app.component.ts @@ -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); }