Skip to content

Commit cc9da61

Browse files
committed
feat: revalidate contributors ranking every day
1 parent df0dd4a commit cc9da61

File tree

1 file changed

+2
-0
lines changed
  • pwa/app/(common)/community/contributors

1 file changed

+2
-0
lines changed

pwa/app/(common)/community/contributors/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export async function generateMetadata(): Promise<Metadata> {
2121
};
2222
}
2323

24+
export const revalidate = 86400; // revalidate the contributors ranking every day
25+
2426
export default async function Page() {
2527
const contributors = await getAllContributors();
2628
return (

0 commit comments

Comments
 (0)