From 28010a927be63b89b6362d6c7c330c357e32e917 Mon Sep 17 00:00:00 2001 From: Daniel Lerch <36048059+daniel-lerch@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:56:18 +0200 Subject: [PATCH] Limit concurrency in prerendering --- nuxt.config.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index b37a154..cf64a2a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,4 +1,12 @@ export default defineNuxtConfig({ + compatibilityDate: '2024-08-26', + + nitro: { + prerender: { + concurrency: 4, + } + }, + runtimeConfig: { baseUrl: process.env.BASE_URL || 'http://localhost:3000', }, @@ -55,6 +63,4 @@ export default defineNuxtConfig({ langDir: 'content/translations/', lazy: true, }, - - compatibilityDate: '2024-08-26', }) \ No newline at end of file