mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 06:20:18 +00:00
Update Open Graph route
Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
@@ -11,7 +11,13 @@ export async function GET(_req: Request, { params }: RouteContext<'/og/docs/[...
|
||||
if (!page) notFound();
|
||||
|
||||
return new ImageResponse(
|
||||
<DefaultImage title={page.data.title} description={page.data.description} site="FluxMQ" />,
|
||||
<DefaultImage
|
||||
title={page.data.title}
|
||||
description={page.data.description}
|
||||
site="FluxMQ"
|
||||
primaryColor="#2F69B3"
|
||||
primaryTextColor="#F9A32A"
|
||||
/>,
|
||||
{
|
||||
width: 1200,
|
||||
height: 630,
|
||||
|
||||
Reference in New Issue
Block a user