mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 22:59:11 +03:00
Invalidate cache for partner pages (#20788)
* Update [slug].tsx * Update [slug].tsx * Update [slug].tsx
This commit is contained in:
1 parent
d03bbe75ed
commit
b4b268b8cd
2 files changed
+2
-2
No files matched your search
@@ -250,7 +250,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
|
||||
|
||||
return {
|
||||
props: { partner, overview },
|
||||
revalidate: 18000, // In seconds - refresh every 5 hours
|
||||
revalidate: 10, // this was 1800 (5 hours) @mildtomato changed to 10 seconds for making rapid updates
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -335,7 +335,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
|
||||
|
||||
return {
|
||||
props: { partner, overview },
|
||||
revalidate: 18000, // In seconds - refresh every 5 hours
|
||||
revalidate: 10, // this was 1800 (5 hours) @mildtomato changed to 10 seconds for making rapid updates
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user