fix: revalidate on notFound

This commit is contained in:
iCrawl
2022-08-24 05:42:43 +02:00
parent 5f093dde24
commit 1d6b31b78d
2 changed files with 3 additions and 0 deletions

View File

@@ -178,6 +178,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
return {
notFound: true,
revalidate: 3600,
};
}
};

View File

@@ -46,6 +46,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
return {
notFound: true,
revalidate: 3600,
};
}
@@ -64,6 +65,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
return {
notFound: true,
revalidate: 3600,
};
}
};