mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
use next cache instead of sanity's cache
This commit is contained in:
1 parent
13463d4eeb
commit
30da54c78e
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user