Skip to content

Commit

Permalink
fix: partials prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Apr 23, 2024
1 parent 9ad69d3 commit 7112fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/nuxt.config.ts
Expand Up @@ -44,7 +44,9 @@ export default defineNuxtConfig({
'/blog/announcing-v2': { redirect: '/' },
'/v1': { redirect: '/v1/getting-started/introduction' },
// Shortcuts
'/document-driven': { redirect: '/document-driven/introduction' }
'/document-driven': { redirect: '/document-driven/introduction' },
// Prevent prerendering of partials, due to nuxt-og-image issue with prerendering
'/_partials/**': { prerender: false }
},
nitro: {
prerender: {
Expand Down

0 comments on commit 7112fb6

Please sign in to comment.