mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
Update revalidate to be once an hour
This commit is contained in:
parent
ebb22163ab
commit
3756168cc0
1 changed files with 2 additions and 3 deletions
|
|
@ -190,15 +190,14 @@ export async function getStaticProps(context) {
|
|||
props: {
|
||||
stats
|
||||
},
|
||||
revalidate: 10
|
||||
revalidate: 60 * 60 // once an hour
|
||||
}
|
||||
} catch (e) {
|
||||
return {
|
||||
props: {
|
||||
stats: {}
|
||||
},
|
||||
revalidate: 10
|
||||
revalidate: 60 * 60 // once an hour
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue