diff --git a/src/app/api/book/route.ts b/src/app/api/book/route.ts index 39003a3..9c9532a 100644 --- a/src/app/api/book/route.ts +++ b/src/app/api/book/route.ts @@ -3,6 +3,7 @@ import {NextResponse} from "next/server"; import {PrismaClient} from "@prisma/client"; import * as Prisma from "@prisma/client"; import {sql} from "@/app/utils/db"; +export const dynamic = "force-dynamic"; // export const dynamic = 'force-dynamic' const prisma = new PrismaClient();