🙋 test getStaticProps with revalidate

This commit is contained in:
lytrankieio123
2021-10-04 11:17:30 +07:00
parent 21b0200205
commit 6b7b8e4ad1
6 changed files with 160 additions and 9 deletions

View File

@@ -60,7 +60,7 @@ export async function getStaticProps({
return {
props: { products },
revalidate: 20,
revalidate: 60,
}
}