Speed ISR for not found

This commit is contained in:
MartinBraquet
2026-01-15 22:18:16 +01:00
parent b2c4e46180
commit 39d856f368

View File

@@ -85,7 +85,7 @@ export const getStaticProps = async (props: GetStaticPropsContext<{
notFoundCustomText:
'The profile you are looking for is not on this site... or perhaps you just mistyped?',
},
revalidate: 15,
revalidate: 1,
}
}
@@ -118,7 +118,7 @@ export const getStaticProps = async (props: GetStaticPropsContext<{
props: {
notFoundCustomText: `${user.username} hasn't created a profile yet.`,
},
revalidate: 15,
revalidate: 1,
}
}
// console.debug('profile', profile)