From 4a9e4679f63d380cb6ffc17740ca70e67951de8f Mon Sep 17 00:00:00 2001 From: Pablo Pettinari Date: Thu, 17 Oct 2024 16:55:20 +0200 Subject: [PATCH] test config --- netlify.toml | 1 + src/pages/index.tsx | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 68ed495e03a..661cd615cd3 100644 --- a/netlify.toml +++ b/netlify.toml @@ -11,6 +11,7 @@ [build.environment] NEXT_FORCE_EDGE_IMAGES="true" + BUILD_LOCALES="en" [[headers]] for = "/*" diff --git a/src/pages/index.tsx b/src/pages/index.tsx index dd65f7ec275..dd1616d5329 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -67,7 +67,6 @@ import { getLocaleTimestamp } from "@/lib/utils/time" import { getRequiredNamespacesForPage } from "@/lib/utils/translations" import { - BASE_TIME_UNIT, BLOG_FEEDS, BLOGS_WITHOUT_FEED, CALENDAR_DISPLAY_COUNT, @@ -119,7 +118,7 @@ type Props = BasePageProps & { } // In seconds -const REVALIDATE_TIME = BASE_TIME_UNIT * 24 +const REVALIDATE_TIME = 60 const loadData = dataLoader( [