Scheduling infrastructure for absolutely everyone.
chore: cache meeting OG images for 1 day (#17525)
Benny Joo54cc2dc094cf
diff --git a/apps/web/pages/api/social/og/image.tsx b/apps/web/pages/api/social/og/image.tsxindex b3078fcb8bd..b57cf8e13b7 100644--- a/apps/web/pages/api/social/og/image.tsx+++ b/apps/web/pages/api/social/og/image.tsx@@ -85,7 +85,10 @@ export default async function handler(req: NextApiRequest) {ogConfig) as { body: Buffer };- return new Response(img.body, { status: 200, headers: { "Content-Type": "image/png" } });+ return new Response(img.body, {+ status: 200,+ headers: { "Content-Type": "image/png", "cache-control": "max-age=86400" },+ });}case "app": {const { name, description, slug } = appSchema.parse({