From 3839e2e1f6fba3d9e211e22624bcdde030418b6c Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Fri, 17 Jul 2026 18:19:33 +0400 Subject: [PATCH] fix(seo): wire branding.socialImageUrl into the OG/Twitter image fallback Added in an earlier commit this session (branding OG image + gallery field), but SeoService.resetToDefaults() never actually read it - defaultImage fell back straight to appIconUrl/logoUrl, so the field the editor calls 'Social Share Image' had no runtime effect. Now it's checked first. Co-Authored-By: Claude Sonnet 5 --- src/app/services/seo.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/seo.service.ts b/src/app/services/seo.service.ts index 6aa4446..5ce933f 100644 --- a/src/app/services/seo.service.ts +++ b/src/app/services/seo.service.ts @@ -97,7 +97,7 @@ export class SeoService { const defaultTitle = seoDefault?.title || `${this.siteName} — Marketplace`; const defaultDescription = seoDefault?.description || 'Modern marketplace for buying digital goods. Wide selection, convenient search, fast delivery.'; - const defaultImage = this.resolveUrl(branding?.appIconUrl || branding?.logoUrl || '') + const defaultImage = this.resolveUrl(branding?.socialImageUrl || branding?.appIconUrl || branding?.logoUrl || '') || `${this.siteUrl}/icons/icon-512x512.png`; const canonicalUrl = seoDefault?.canonicalUrl ? this.resolveUrl(seoDefault.canonicalUrl) : this.siteUrl;