Problem
src/server/routes/og.tsx fetches the Inter font from fonts.gstatic.com on every cold start. This adds latency to the first OG image request and creates an external dependency.
If the fetch fails, it falls back to an empty ArrayBuffer, rendering text with a broken/missing font.
Suggested Fix
- Bundle a subset of Inter (Regular 400 + Bold 700) as a local woff2 file
- Load from disk instead of network
- Eliminates external dependency and cold-start latency
Problem
src/server/routes/og.tsxfetches the Inter font fromfonts.gstatic.comon every cold start. This adds latency to the first OG image request and creates an external dependency.If the fetch fails, it falls back to an empty ArrayBuffer, rendering text with a broken/missing font.
Suggested Fix