Skip to content

Commit

Permalink
fix: getStaticProps cache
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyWie committed May 11, 2023
1 parent d937ab9 commit 53fbec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export async function getStaticProps({ locale }) {
}

return {
revalidate: 300,
props: {
...(await serverSideTranslations(locale, ['common'])),
...{
Expand Down

0 comments on commit 53fbec8

Please sign in to comment.