diff --git a/pages/api/og.tsx b/pages/api/og.tsx index 5322349..15e4d38 100644 --- a/pages/api/og.tsx +++ b/pages/api/og.tsx @@ -8,144 +8,99 @@ export const config = { export default async function handler(req: NextRequest) { try { const { searchParams } = new URL(req.url) - - // Get dynamic parameters + const title = searchParams.get('title') || 'Tilekit' - const description = searchParams.get('description') || 'Monorepo hosting both in-house and vendored libraries and tools powering the Tiles Launcher.' - const type = searchParams.get('type') || 'default' - - // Note: Using system fonts for better compatibility return new ImageResponse( (
- {description} -
-