use next cache instead of sanity's cache

This commit is contained in:
leander committed 2026-10-30 21:16:08 +01:00
1 parent 13463d4eeb
commit 30da54c78e
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ export const sanityClient = createClient({
projectId: process.env.NEXT_PUBLIC_SANITY_PROJECT_ID!,
dataset: process.env.NEXT_PUBLIC_SANITY_DATASET!,
apiVersion: "2025-02-19",
useCdn: true,
useCdn: false,
})
export async function getBlogPost(slug: string) {