From fa922bdcbef859055894cda72e632a37aba5d912 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 26 Feb 2026 11:23:01 +0100 Subject: [PATCH] Fix --- web/pages/api/og/profile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pages/api/og/profile.tsx b/web/pages/api/og/profile.tsx index 083660a5..fa6d25e5 100644 --- a/web/pages/api/og/profile.tsx +++ b/web/pages/api/og/profile.tsx @@ -30,14 +30,14 @@ function OgProfile(props: ogProps) { typeof keywords === 'string' ? (keywords ? keywords.split(',') : []) : (keywords ?? []) const allTags = [...keywordsList].filter(Boolean).slice(0, 8) - const maxChars = 200 + const maxChars = 220 if (headline && headline.length > maxChars) { headline = headline.slice(0, maxChars) + '...' } const totalChars = (headline?.length || 0) + (allTags?.join(' ')?.length || 0) + name.length * 3 - const isLargerPicLayout = totalChars < 220 + const isLargerPicLayout = totalChars < maxChars console.log(props)