Added Revalidate clause for incremental static page generation
This commit is contained in:
parent
9141c18579
commit
9bd6f8daac
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ export async function getStaticProps(context) {
|
|||
// const tadfirstitem = tadfullfeed.items[0]
|
||||
|
||||
return {
|
||||
props: { article, pagedata, config: serverRuntimeConfig, firstimage}, // will be passed to the page component as props
|
||||
props: { article, pagedata, config: serverRuntimeConfig, firstimage},
|
||||
revalidate: 60 // will be passed to the page component as props
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue