From 26083f0b1fe8cad6117e3f84c0f75c8c5ab4054b Mon Sep 17 00:00:00 2001 From: Darren B <68653294+Devd0@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:01:58 -0400 Subject: [PATCH] add reval on both returns --- ui/src/pages/extensions/[ext]/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/pages/extensions/[ext]/index.tsx b/ui/src/pages/extensions/[ext]/index.tsx index 7e04c8d8..e039f412 100644 --- a/ui/src/pages/extensions/[ext]/index.tsx +++ b/ui/src/pages/extensions/[ext]/index.tsx @@ -360,7 +360,7 @@ export async function getStaticProps({ params }: { params: { ext: string } }) { return { props: { extension: latestVersion, readme, repoDescription }, - revalidate: 300, + revalidate: 10, } } catch (error: any) { console.log( @@ -371,6 +371,7 @@ export async function getStaticProps({ params }: { params: { ext: string } }) { ) return { props: { extension: null, readme: "", repoDescription: "" }, + revalidate: 10, } } }