mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Revalidate every minute, rather than week lol
`revalidate` is in minutes https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration
This commit is contained in:
parent
ff2a73b42e
commit
b462494ff2
2 changed files with 2 additions and 2 deletions
|
|
@ -39,6 +39,6 @@ export const getStaticProps = async ({ params }) => {
|
|||
rawOrganizations: orgs,
|
||||
pageRegion: region
|
||||
},
|
||||
revalidate: 60
|
||||
revalidate: 60 // seconds
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1392,6 +1392,6 @@ export const getStaticProps = async () => {
|
|||
props: {
|
||||
rawOrganizations: await fetchRawClimateOrganizations()
|
||||
},
|
||||
revalidate: 600000
|
||||
revalidate: 60 // seconds
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue