Skip to content

Commit

Permalink
perf(build): build caches before pre-rendering contents (#1530)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Oct 19, 2022
1 parent d2bb688 commit 69713b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default defineNuxtModule<ModuleOptions>({
)

if (!nuxt.options.dev) {
nitroConfig.prerender.routes.push('/api/_content/cache')
nitroConfig.prerender.routes.unshift('/api/_content/cache')
}

// Register source storages
Expand Down

0 comments on commit 69713b6

Please sign in to comment.