Skip to content

Commit

Permalink
Reintroduce revalidate gradually (2)
Browse files Browse the repository at this point in the history
Related #133
  • Loading branch information
catalinred committed Dec 30, 2024
1 parent cf453cf commit adf3106
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pages/[...slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const getStaticProps = async ({ locale, params }) => {
page: page || null,
...(await serverSideTranslations(builderLocale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/breakpoint/[[...slug]].js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const getStaticProps = async ({ locale, params }) => {
page: page || null,
...(await serverSideTranslations(locale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getStaticProps = async ({ locale }) => {
page: page || null,
...(await serverSideTranslations(builderLocale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/news/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const getStaticProps = async ({ locale, params }) => {
morePosts,
...(await serverSideTranslations(locale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/news/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export async function getStaticProps({ locale }) {
posts,
...(await serverSideTranslations(builderLocale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/news/tag/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export async function getStaticProps({ locale, params }) {
: [],
...(await serverSideTranslations(locale, ["common"])),
},
// revalidate: 60,
revalidate: 60,
};
} catch (error) {
console.error(error);
Expand Down

0 comments on commit adf3106

Please sign in to comment.