diff --git a/lib/og-helper.tsx b/lib/og-helper.tsx index ecee9b16..27101c5b 100644 --- a/lib/og-helper.tsx +++ b/lib/og-helper.tsx @@ -6,8 +6,8 @@ import { join } from 'path'; * 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.woff2'); - const regularFontPath = join(process.cwd(), 'public/fonts/Inter-Regular.woff2'); + const boldFontPath = join(process.cwd(), 'public/fonts/Inter-Bold.woff'); + const regularFontPath = join(process.cwd(), 'public/fonts/Inter-Regular.woff'); try { console.log(`[OG] Loading fonts: bold=${boldFontPath}, regular=${regularFontPath}`); diff --git a/public/fonts/Inter-Bold.ttf b/public/fonts/Inter-Bold.ttf deleted file mode 100644 index 7ace8885..00000000 --- a/public/fonts/Inter-Bold.ttf +++ /dev/null @@ -1,1449 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Page not found · GitHub · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- Skip to content - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - -
- - - - - -
- - - - - - - - - -
-
- - - -
-
- -
-
- 404 “This is not the web page you are looking for” - - - - - - - - - - - - -
-
- -
-
- -
- - -
-
- -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - diff --git a/public/fonts/Inter-Bold.woff b/public/fonts/Inter-Bold.woff new file mode 100644 index 00000000..161b01e8 Binary files /dev/null and b/public/fonts/Inter-Bold.woff differ diff --git a/public/fonts/Inter-Bold.woff2 b/public/fonts/Inter-Bold.woff2 deleted file mode 100644 index b9e3cb3b..00000000 Binary files a/public/fonts/Inter-Bold.woff2 and /dev/null differ diff --git a/public/fonts/Inter-Regular.ttf b/public/fonts/Inter-Regular.ttf deleted file mode 100644 index 9a35886f..00000000 --- a/public/fonts/Inter-Regular.ttf +++ /dev/null @@ -1,1449 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Page not found · GitHub · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
- Skip to content - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - -
- - - - - -
- - - - - - - - - -
-
- - - -
-
- -
-
- 404 “This is not the web page you are looking for” - - - - - - - - - - - - -
-
- -
-
- -
- - -
-
- -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - -
-
-
- - - diff --git a/public/fonts/Inter-Regular.woff b/public/fonts/Inter-Regular.woff new file mode 100644 index 00000000..2f21ed48 Binary files /dev/null and b/public/fonts/Inter-Regular.woff differ diff --git a/public/fonts/Inter-Regular.woff2 b/public/fonts/Inter-Regular.woff2 deleted file mode 100644 index 2bcd222e..00000000 Binary files a/public/fonts/Inter-Regular.woff2 and /dev/null differ diff --git a/scripts/check-og-images.ts b/scripts/check-og-images.ts index e5a464e3..d1db2bde 100644 --- a/scripts/check-og-images.ts +++ b/scripts/check-og-images.ts @@ -50,8 +50,7 @@ async function verifyImage(path: string): Promise { console.log(` ✅ OK (${bytes.length} bytes, ${duration}ms)`); return true; } catch (error: unknown) { - const message = error instanceof Error ? error.message : String(error); - console.error(` ❌ FAILED: ${message}`); + console.error(` ❌ FAILED:`, error); return false; } }