From 25bc430680d9c59cb0085d438487654e6838907f Mon Sep 17 00:00:00 2001 From: readeral Date: Fri, 14 Feb 2020 15:25:09 +1100 Subject: [PATCH] use cdn --- lib/graphql/models/sanity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/graphql/models/sanity.ts b/lib/graphql/models/sanity.ts index b360e57..0646813 100644 --- a/lib/graphql/models/sanity.ts +++ b/lib/graphql/models/sanity.ts @@ -3,8 +3,8 @@ import sanityClient from '@sanity/client'; const client = sanityClient({ projectId: 'w0mujm5q', dataset: 'production', - token: process.env.SANITY_TOKEN - // TODO: useCdn: true + token: process.env.SANITY_TOKEN, + useCdn: true }); export default client;