From ee3041cf96ff9660823d87ca13fb83c99de93acd Mon Sep 17 00:00:00 2001 From: Catalin Rosu Date: Thu, 19 Dec 2024 21:38:30 +0200 Subject: [PATCH] Reintroduce revalidate gradually --- src/pages/developers/cookbook/[[...slug]].tsx | 2 +- src/pages/developers/courses/[course]/[lesson]/index.tsx | 2 +- src/pages/developers/courses/[course]/index.tsx | 2 +- src/pages/developers/courses/index.tsx | 2 +- src/pages/developers/guides/[...slug].tsx | 2 +- src/pages/developers/guides/index.jsx | 2 +- src/pages/developers/resources/[...slug].jsx | 2 +- src/pages/developers/resources/index.jsx | 2 +- src/pages/docs/rpc/[[...slug]].tsx | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/developers/cookbook/[[...slug]].tsx b/src/pages/developers/cookbook/[[...slug]].tsx index c0386fb5d..fdbcf2ebd 100644 --- a/src/pages/developers/cookbook/[[...slug]].tsx +++ b/src/pages/developers/cookbook/[[...slug]].tsx @@ -63,7 +63,7 @@ export async function getStaticProps({ params, locale }) { source, navData, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/courses/[course]/[lesson]/index.tsx b/src/pages/developers/courses/[course]/[lesson]/index.tsx index 700a803dc..939505581 100644 --- a/src/pages/developers/courses/[course]/[lesson]/index.tsx +++ b/src/pages/developers/courses/[course]/[lesson]/index.tsx @@ -119,6 +119,6 @@ export async function getStaticProps({ params, locale }) { record, source, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/courses/[course]/index.tsx b/src/pages/developers/courses/[course]/index.tsx index 1260aaf2e..fc5962682 100644 --- a/src/pages/developers/courses/[course]/index.tsx +++ b/src/pages/developers/courses/[course]/index.tsx @@ -94,7 +94,7 @@ export async function getStaticProps({ lessons, // source, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/courses/index.tsx b/src/pages/developers/courses/index.tsx index e02145285..6cb361085 100644 --- a/src/pages/developers/courses/index.tsx +++ b/src/pages/developers/courses/index.tsx @@ -34,7 +34,7 @@ export async function getStaticProps({ locale }) { records, featured, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/guides/[...slug].tsx b/src/pages/developers/guides/[...slug].tsx index e6b161bab..d826aab7f 100644 --- a/src/pages/developers/guides/[...slug].tsx +++ b/src/pages/developers/guides/[...slug].tsx @@ -112,6 +112,6 @@ export async function getStaticProps({ params, locale }) { record, source, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/guides/index.jsx b/src/pages/developers/guides/index.jsx index 50b0a0896..9ec996583 100644 --- a/src/pages/developers/guides/index.jsx +++ b/src/pages/developers/guides/index.jsx @@ -28,7 +28,7 @@ export async function getStaticProps({ locale }) { records, featured, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/resources/[...slug].jsx b/src/pages/developers/resources/[...slug].jsx index 3b39e5fd2..d9f21ed0e 100644 --- a/src/pages/developers/resources/[...slug].jsx +++ b/src/pages/developers/resources/[...slug].jsx @@ -107,6 +107,6 @@ export async function getStaticProps({ params, locale }) { record, source, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/developers/resources/index.jsx b/src/pages/developers/resources/index.jsx index bfb00ec07..39b5d0fbc 100644 --- a/src/pages/developers/resources/index.jsx +++ b/src/pages/developers/resources/index.jsx @@ -26,7 +26,7 @@ export async function getStaticProps({ locale }) { records, featured, }, - // revalidate: 60, + revalidate: 60, }; } diff --git a/src/pages/docs/rpc/[[...slug]].tsx b/src/pages/docs/rpc/[[...slug]].tsx index 53f18df22..e690d3cff 100644 --- a/src/pages/docs/rpc/[[...slug]].tsx +++ b/src/pages/docs/rpc/[[...slug]].tsx @@ -252,6 +252,6 @@ export async function getStaticProps({ params, locale }) { source, navData, }, - // revalidate: 60, + revalidate: 60, }; }