diff --git a/libs/shared/seo/src/lib/metadata.service.ts b/libs/shared/seo/src/lib/metadata.service.ts index 43684d8..c2ce594 100644 --- a/libs/shared/seo/src/lib/metadata.service.ts +++ b/libs/shared/seo/src/lib/metadata.service.ts @@ -71,6 +71,10 @@ export class MetadataService { } private buildImageUrl(image: string): string { + if (image.startsWith('//')) { + return `https:${image}`; + } + return image.startsWith('http') || image.startsWith('//') ? image : this.window.location.origin + image;