10s revalidate

This commit is contained in:
Aarni Halinen
2021-06-29 17:49:00 +03:00
parent 411d2c7c4a
commit 36b8cab248
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
props: {
event,
},
revalidate: 30, // Required for deleting hidden pages
revalidate: 10, // Required for deleting hidden pages
notFound,
};
};
+1 -1
View File
@@ -58,7 +58,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
props: {
post,
},
revalidate: 30, // Required for deleting hidden pages
revalidate: 10, // Required for deleting hidden pages
notFound,
};
};
+1 -1
View File
@@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
initialEvents,
initialFeed,
},
revalidate: 30,
revalidate: 10,
};
};
+1 -1
View File
@@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
initialEvents,
initialFeed,
},
revalidate: 30,
revalidate: 10,
};
};
+1 -1
View File
@@ -39,7 +39,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
initialEvents,
initialFeed,
},
revalidate: 30,
revalidate: 10,
};
};
+1 -1
View File
@@ -97,7 +97,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async ({ params }) =
props: {
initialForm,
},
revalidate: 30, // Required for deleting hidden pages
revalidate: 10, // Required for deleting hidden pages
notFound,
};
};
+1 -1
View File
@@ -32,7 +32,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
props: {
initialJobAds,
},
revalidate: 30,
revalidate: 10,
};
};