From f90a2b4b2cc417524348c474037a5b4351b2edc2 Mon Sep 17 00:00:00 2001 From: Monika Stefanova Date: Sat, 7 Feb 2026 19:50:57 +0100 Subject: [PATCH] revalidate home page every 5 mins --- front/src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/src/app/page.tsx b/front/src/app/page.tsx index 05e01be..230461d 100644 --- a/front/src/app/page.tsx +++ b/front/src/app/page.tsx @@ -1,6 +1,8 @@ import { EmbalseSearch } from "@/pods/embalse-search"; import { getEmbalsesCollection } from "@/pods/embalse-search/api"; +export const revalidate = 300; + const RootPage = async () => { const embalses = await getEmbalsesCollection();