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:
Gary Tou 2023-08-18 09:51:49 -07:00
parent ff2a73b42e
commit b462494ff2
No known key found for this signature in database
GPG key ID: 1587ABD3593755C3
2 changed files with 2 additions and 2 deletions

View file

@ -39,6 +39,6 @@ export const getStaticProps = async ({ params }) => {
rawOrganizations: orgs,
pageRegion: region
},
revalidate: 60
revalidate: 60 // seconds
}
}

View file

@ -1392,6 +1392,6 @@ export const getStaticProps = async () => {
props: {
rawOrganizations: await fetchRawClimateOrganizations()
},
revalidate: 600000
revalidate: 60 // seconds
}
}