diff --git a/app/build/[...ids]/page.tsx b/app/build/[...ids]/page.tsx index a608015..352ef54 100644 --- a/app/build/[...ids]/page.tsx +++ b/app/build/[...ids]/page.tsx @@ -1,10 +1,3 @@ -export const dynamic = "force-static"; - -export async function generateStaticParams() { - const queries = await prisma.platformQuery.findMany({ select: { id: true } }); - return queries.map((query) => ({ ids: [query.id] })); -} - import { getServerSession } from "next-auth/next"; import { authOptions } from "@/pages/api/auth/[...nextauth]"; import { validations } from "@/platforms"; diff --git a/app/build/list/page.tsx b/app/build/list/page.tsx index 56621e3..4e94b0f 100644 --- a/app/build/list/page.tsx +++ b/app/build/list/page.tsx @@ -1,5 +1,3 @@ -export const dynamic = "force-static"; - import prisma from "@/services/prisma"; import { Platform, PlatformCode, PlatformQuery } from "@prisma/client"; import { templates, samples } from "@/platforms";