diff --git a/src/app/api/categories/route.ts b/src/app/api/categories/route.ts index 0b545b6..6692315 100644 --- a/src/app/api/categories/route.ts +++ b/src/app/api/categories/route.ts @@ -2,6 +2,8 @@ import { NextResponse } from "next/server"; import { pb } from "@/lib/pocketbase"; import { Category } from "@/lib/types"; +export const dynamic = "force-dynamic"; + export async function GET() { try { const response = await pb.collection("categories").getFullList({