Skip to content

Commit

Permalink
fix(nuxt): prevent losing pages routes on prerender (#26354)
Browse files Browse the repository at this point in the history
  • Loading branch information
zunderbolt authored Mar 18, 2024
1 parent 0bc49eb commit 7284e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/pages/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ export default defineNuxtModule({
if (route === '/') { continue }
prerenderRoutes.add(route)
}
nitro.options.prerender.routes = Array.from(prerenderRoutes)
}
nitro.options.prerender.routes = Array.from(prerenderRoutes)
})
})

Expand Down

0 comments on commit 7284e70

Please sign in to comment.