diff --git a/src/pages/events/[id].tsx b/src/pages/events/[id].tsx index bc15082..408a4bb 100644 --- a/src/pages/events/[id].tsx +++ b/src/pages/events/[id].tsx @@ -57,7 +57,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { event, }, - revalidate: 30, // Required for deleting hidden pages + revalidate: 10, // Required for deleting hidden pages notFound, }; }; diff --git a/src/pages/feed/[id].tsx b/src/pages/feed/[id].tsx index e32a1a3..b791266 100644 --- a/src/pages/feed/[id].tsx +++ b/src/pages/feed/[id].tsx @@ -58,7 +58,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { post, }, - revalidate: 30, // Required for deleting hidden pages + revalidate: 10, // Required for deleting hidden pages notFound, }; }; diff --git a/src/pages/in_english.tsx b/src/pages/in_english.tsx index bcc5d75..87fdbbc 100644 --- a/src/pages/in_english.tsx +++ b/src/pages/in_english.tsx @@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps = async () => { initialEvents, initialFeed, }, - revalidate: 30, + revalidate: 10, }; }; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 3ae54db..bf7be98 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps = async () => { initialEvents, initialFeed, }, - revalidate: 30, + revalidate: 10, }; }; diff --git a/src/pages/kilta/toiminta.tsx b/src/pages/kilta/toiminta.tsx index 603481c..5122bf3 100644 --- a/src/pages/kilta/toiminta.tsx +++ b/src/pages/kilta/toiminta.tsx @@ -39,7 +39,7 @@ export const getStaticProps: GetStaticProps = async () => { initialEvents, initialFeed, }, - revalidate: 30, + revalidate: 10, }; }; diff --git a/src/pages/signup/[id].tsx b/src/pages/signup/[id].tsx index 6ed331f..5e20d20 100644 --- a/src/pages/signup/[id].tsx +++ b/src/pages/signup/[id].tsx @@ -97,7 +97,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) = props: { initialForm, }, - revalidate: 30, // Required for deleting hidden pages + revalidate: 10, // Required for deleting hidden pages notFound, }; }; diff --git a/src/pages/yritysyhteistyo.tsx b/src/pages/yritysyhteistyo.tsx index a0c1a9e..0c185c2 100644 --- a/src/pages/yritysyhteistyo.tsx +++ b/src/pages/yritysyhteistyo.tsx @@ -32,7 +32,7 @@ export const getStaticProps: GetStaticProps = async () => { props: { initialJobAds, }, - revalidate: 30, + revalidate: 10, }; };