diff --git a/src/pages/[...slug].js b/src/pages/[...slug].js index bb1021f0..08b13d45 100644 --- a/src/pages/[...slug].js +++ b/src/pages/[...slug].js @@ -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); diff --git a/src/pages/breakpoint/[[...slug]].js b/src/pages/breakpoint/[[...slug]].js index 3feaf01c..e46cd065 100644 --- a/src/pages/breakpoint/[[...slug]].js +++ b/src/pages/breakpoint/[[...slug]].js @@ -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); diff --git a/src/pages/index.js b/src/pages/index.js index 1c5c96d3..00b551a5 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -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); diff --git a/src/pages/news/[slug].js b/src/pages/news/[slug].js index 1a82cc62..9bbd1cf9 100644 --- a/src/pages/news/[slug].js +++ b/src/pages/news/[slug].js @@ -109,7 +109,7 @@ export const getStaticProps = async ({ locale, params }) => { morePosts, ...(await serverSideTranslations(locale, ["common"])), }, - // revalidate: 60, + revalidate: 60, }; } catch (error) { console.error(error); diff --git a/src/pages/news/index.js b/src/pages/news/index.js index a8967ecf..f67c5a4e 100644 --- a/src/pages/news/index.js +++ b/src/pages/news/index.js @@ -362,7 +362,7 @@ export async function getStaticProps({ locale }) { posts, ...(await serverSideTranslations(builderLocale, ["common"])), }, - // revalidate: 60, + revalidate: 60, }; } catch (error) { console.error(error); diff --git a/src/pages/news/tag/[slug].js b/src/pages/news/tag/[slug].js index e4662663..fc0a0096 100644 --- a/src/pages/news/tag/[slug].js +++ b/src/pages/news/tag/[slug].js @@ -113,7 +113,7 @@ export async function getStaticProps({ locale, params }) { : [], ...(await serverSideTranslations(locale, ["common"])), }, - // revalidate: 60, + revalidate: 60, }; } catch (error) { console.error(error);