We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a29a78 commit d076f01Copy full SHA for d076f01
libs/blog/shared/util-seo/src/lib/services/seo.service.ts
@@ -82,7 +82,14 @@ export class SeoService {
82
if (seoData.og_image) {
83
this.setMetaImage(
84
seoData.og_image.map((i) => {
85
- return { url: i.url, height: i.height, width: i.width };
+ const updatedUrl = i.url.startsWith('https://angular.love/wp-content')
86
+ ? i.url.replace(
87
+ 'https://angular.love/wp-content',
88
+ 'https://wp.angular.love/wp-content',
89
+ )
90
+ : i.url;
91
+
92
+ return { url: updatedUrl, height: i.height, width: i.width };
93
}),
94
);
95
}
0 commit comments