From 9e366049c4737ec75145200a8ab5960aa2f351bc Mon Sep 17 00:00:00 2001 From: Mario Souto <13791385+omariosouto@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:03:50 -0300 Subject: [PATCH] update --- _api/modules/guides/repository.ts | 2 +- next.config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/_api/modules/guides/repository.ts b/_api/modules/guides/repository.ts index 129ff0172..cf3fe10e9 100644 --- a/_api/modules/guides/repository.ts +++ b/_api/modules/guides/repository.ts @@ -34,7 +34,7 @@ export function guidesRepository() { guideFileNames.map(async (fileName) => { const slug = slugify(fileName.replace(".yaml", "")); // eslint-disable-next-line no-console - console.log("[guide]", fileName); + console.log("[guide]", locale, fileName); const guideCache = await storage.get(`guide-${locale}-${slug}`); if (guideCache) return guideCache; diff --git a/next.config.js b/next.config.js index 18e0311ce..1d87e2750 100644 --- a/next.config.js +++ b/next.config.js @@ -7,6 +7,9 @@ const nextConfig = { compiler: { styledComponents: true, }, + experimental: { + largePageDataBytes: 400 * 1000, + }, staticPageGenerationTimeout: 60 * 10, async redirects() { return redirects;