From 90a808b8b14325cb2ed7e9a2742c38f27156f8ff Mon Sep 17 00:00:00 2001 From: Henrik Larsson Date: Tue, 23 May 2023 08:46:04 +0200 Subject: [PATCH] Prepare revalidate --- app/api/revalidate/route.ts | 0 lib/sanity/sanity.client.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 app/api/revalidate/route.ts diff --git a/app/api/revalidate/route.ts b/app/api/revalidate/route.ts new file mode 100644 index 000000000..e69de29bb diff --git a/lib/sanity/sanity.client.ts b/lib/sanity/sanity.client.ts index 197f019d1..6567b927f 100644 --- a/lib/sanity/sanity.client.ts +++ b/lib/sanity/sanity.client.ts @@ -8,5 +8,5 @@ export const client = createClient({ projectId, dataset, apiVersion, - useCdn: true, + useCdn: false, }); \ No newline at end of file