You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Home page OG/Twitter image broken for zh-CN locale (missing zh-CN→zh filename mapping) #243
The home page generates a broken OpenGraph / Twitter card image for the zh-CN locale, because page.tsx interpolates the raw locale into the filename (default-og-image_zh-CN.jpg) while the actual file is named default-og-image_zh.jpg.
src/shared/lib/structured-data.ts:219,250 (structured data image)
Impact
When a Chinese-locale home page URL is shared on social media (Twitter, Facebook, Slack, etc.), the OG/Twitter card shows a broken image. The other Chinese pages work fine (they use the mapped path), so it's specifically the home page that's affected.
Fix
Apply the same zh-CN → zh mapping that the rest of the codebase uses:
Activity