10s revalidate
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
|
||||
initialEvents,
|
||||
initialFeed,
|
||||
},
|
||||
revalidate: 30,
|
||||
revalidate: 10,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
|
||||
initialEvents,
|
||||
initialFeed,
|
||||
},
|
||||
revalidate: 30,
|
||||
revalidate: 10,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
|
||||
initialEvents,
|
||||
initialFeed,
|
||||
},
|
||||
revalidate: 30,
|
||||
revalidate: 10,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@ export const getStaticProps: GetStaticProps<InitialProps> = async () => {
|
||||
props: {
|
||||
initialJobAds,
|
||||
},
|
||||
revalidate: 30,
|
||||
revalidate: 10,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user