Connect, collaborate, and grow with a community of TypeScript developers
there was an attempt
bautistaaafff660624f5e
diff --git a/apps/og-image/app/api/default/route.tsx b/apps/og-image/app/api/default/route.tsxindex 9b459db7..b3eedb99 100644--- a/apps/og-image/app/api/default/route.tsx+++ b/apps/og-image/app/api/default/route.tsx@@ -8,7 +8,7 @@ export async function GET() {return new ImageResponse((<div style={{ display: 'flex' }}>- <img src={`${HOST}/og.png`} alt="OG" />+ <img src={`${HOST}/og.png?cache-bust=${new Date().getDate()}`} alt="OG" /></div>),{diff --git a/apps/web/src/app/metadata.ts b/apps/web/src/app/metadata.tsindex ed93e9d8..e35e8e66 100644--- a/apps/web/src/app/metadata.ts+++ b/apps/web/src/app/metadata.ts@@ -76,7 +76,7 @@ export const buildMetaForChallenge = async ({/** Helper to build opengraph metadata with defaults, you should call this in generateMetadata() next function */export const buildMetaForDefault = async (): Promise<Metadata> => {return buildMeta({- ogImageUrl: `${OG_URL}/api/default?cache=1`,+ ogImageUrl: `${OG_URL}/api/default?cache-bust=${new Date().getDate()}`,});};