From 6cb390024bba5653cc1fe5569b2b7df9132d5ce4 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 21 Jun 2026 23:04:43 +0200 Subject: [PATCH] fix(og): use .ttf fonts instead of .woff to prevent Satori crash on production --- lib/og-helper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/og-helper.tsx b/lib/og-helper.tsx index 42222e2a2..fcd5ad6fa 100644 --- a/lib/og-helper.tsx +++ b/lib/og-helper.tsx @@ -7,8 +7,8 @@ import { ImageResponse } from 'next/og'; * Since we are using runtime = 'nodejs', we can read them from the filesystem. */ export async function getOgFonts() { - const boldFontPath = join(process.cwd(), 'public/fonts/Inter-Bold.woff'); - const regularFontPath = join(process.cwd(), 'public/fonts/Inter-Regular.woff'); + const boldFontPath = join(process.cwd(), 'public/fonts/Inter-Bold.ttf'); + const regularFontPath = join(process.cwd(), 'public/fonts/Inter-Regular.ttf'); try { console.log(`[OG] Loading fonts: bold=${boldFontPath}, regular=${regularFontPath}`);