This commit is contained in:
2025-06-04 15:46:31 +02:00
parent e0ee3498c7
commit 587b928ab3
66 changed files with 24510 additions and 2489 deletions

10
sanity/lib/client.ts Normal file
View File

@@ -0,0 +1,10 @@
import { createClient } from 'next-sanity'
import { apiVersion, dataset, projectId } from '../env'
export const client = createClient({
projectId,
dataset,
apiVersion,
useCdn: true, // Set to false if statically generating pages, using ISR or tag-based revalidation
})