Skip to content

Commit

Permalink
Upgrade nextjs to 9.3.5
Browse files Browse the repository at this point in the history
Signed-off-by: Janus Reith <mail@janusreith.de>
  • Loading branch information
janus-reith committed Apr 19, 2020
1 parent 937fdc6 commit c06f841
Show file tree
Hide file tree
Showing 4 changed files with 886 additions and 1,274 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"mdi-material-ui": "~5.9.0",
"mobx": "~4.9.2",
"mobx-react": "~5.4.3",
"next": "^9.3.0",
"next": "^9.3.5",
"passport": "~0.4.0",
"passport-oauth2": "~1.4.0",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion pages/[lang]/product/[...slugOrId].js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function getStaticProps({ params: { slugOrId, lang } }) {
...await fetchCatalogProduct(productSlug),
...await fetchAllTags(lang)
},
revalidate: 120 // Revalidate each two minutes
unstable_revalidate: 120 // Revalidate each two minutes
};
}

Expand Down
2 changes: 1 addition & 1 deletion pages/[lang]/tag/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export async function getStaticProps({ params: { lang, slug } }) {
...await fetchAllTags(lang),
...await fetchTag(slug, lang)
},
revalidate: 120 // Revalidate each two minutes
unstable_revalidate: 120 // Revalidate each two minutes
};
}

Expand Down
Loading

0 comments on commit c06f841

Please sign in to comment.