From 47acab374ad3a7c25a24dacd0b03c52e85bce72a Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Sun, 5 Nov 2023 20:28:01 +0100 Subject: [PATCH] feat: add revalidation to export page --- app/event/[vendor]/[id]/export/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/event/[vendor]/[id]/export/page.tsx b/app/event/[vendor]/[id]/export/page.tsx index 8080aca3..e859d735 100644 --- a/app/event/[vendor]/[id]/export/page.tsx +++ b/app/event/[vendor]/[id]/export/page.tsx @@ -9,6 +9,7 @@ import { ExportRollbetter } from './_components/export-rollbetter'; * Opt into background revalidation. (see: https://github.com/vercel/next.js/discussions/43085) */ export const generateStaticParams = () => []; +export const revalidate = 3600; // 1 hour // Helpers // ---------------