diff options
Diffstat (limited to 'src/pages/og-image')
| -rw-r--r-- | src/pages/og-image/[...slug].png.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/og-image/[...slug].png.ts b/src/pages/og-image/[...slug].png.ts index f58316c..3279380 100644 --- a/src/pages/og-image/[...slug].png.ts +++ b/src/pages/og-image/[...slug].png.ts @@ -77,7 +77,7 @@ export async function GET(context: APIContext) { } export async function getStaticPaths() { - const posts = await getAllPosts(); + const posts = await getAllPosts(true); // Include archived posts for OG image generation return posts .filter(({ data }) => !data.ogImage) .map((post) => ({ |
