Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

⚡️ Cache og image

Luke Vellaa7d1fa9a5cc5
diff --git a/apps/web/src/app/api/og-image-poll/route.tsx b/apps/web/src/app/api/og-image-poll/route.tsx
index 218e75a09..4cdb4a816 100644
--- a/apps/web/src/app/api/og-image-poll/route.tsx
+++ b/apps/web/src/app/api/og-image-poll/route.tsx
@@ -84,6 +84,10 @@ export async function GET(req: NextRequest) {
weight: 700,
},
],
+ headers: {
+ "Cache-Control": "public, max-age=31536000, immutable",
+ "Content-Type": "image/png",
+ },
},
);
}