mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix: revalidate on notFound
This commit is contained in:
@@ -178,6 +178,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
|
||||
|
||||
return {
|
||||
notFound: true,
|
||||
revalidate: 3600,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user