Skip to content

Scheduling infrastructure for absolutely everyone.

Uses ISR on setup pages

zomars2b054862dff4
diff --git a/apps/web/pages/apps/[slug]/setup.tsx b/apps/web/pages/apps/[slug]/setup.tsx
index 51fd2251d85..b472a0b974b 100644
--- a/apps/web/pages/apps/[slug]/setup.tsx
+++ b/apps/web/pages/apps/[slug]/setup.tsx
@@ -31,13 +31,10 @@ export default function SetupInformation(props: InferGetStaticPropsType<typeof g
return <AppSetupPage slug={slug} {...props} />;
}
-export const getStaticPaths = async () => {
- const appStore = await prisma.app.findMany({ select: { slug: true } });
- const paths = appStore.filter((a) => a.slug in AppSetupMap).map((app) => app.slug);
-
+export const getStaticPaths: GetStaticPaths = async () => {
return {
- paths: paths.map((slug) => ({ params: { slug } })),
- fallback: false,
+ paths: [],
+ fallback: "blocking",
};
};