Skip to content

Commit

Permalink
feat: add revalidation to export page
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Nov 5, 2023
1 parent 04f87cc commit 47acab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/event/[vendor]/[id]/export/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
// ---------------
Expand Down

1 comment on commit 47acab3

@vercel
Copy link

@vercel vercel bot commented on 47acab3 Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.