Skip to content

Commit 5f1960e

Browse files
committed
feat: configure OG image generation to runtime to prevent CI crashes.
1 parent 676a780 commit 5f1960e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ export default defineNuxtConfig({
131131
...(import.meta.env.NODE_ENV === 'test' ? ['@nuxt/test-utils/module'] : []),
132132
],
133133

134+
ogImage: {
135+
// Disable prerendering of OG images to avoid ultrahtml/satori-html crash in CI
136+
// Images will be generated at runtime instead
137+
runtimeCacheStorage: true,
138+
},
139+
134140
content: {
135141
highlight: {
136142
theme: 'github-dark',

0 commit comments

Comments
 (0)