Update default preview image location

Remove duplicate image, move to previews folder, and update
existing paths.
This commit is contained in:
hunicus
2024-03-10 08:21:00 +09:00
parent bfde456ca8
commit 1b92c62353
5 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ export class OpenGraphService {
) {
// save og:image tag from original template
const initialOgImageTag = metaService.getTag("property='og:image'");
this.defaultImageUrl = initialOgImageTag?.content || 'https://mempool.space/resources/mempool-space-preview.png';
this.defaultImageUrl = initialOgImageTag?.content || 'https://mempool.space/resources/previews/mempool-space-preview.png';
this.router.events.pipe(
filter(event => event instanceof NavigationEnd),
map(() => this.activatedRoute),