personal-website/frontend/lib/cms/client.ts

12 lines
247 B
TypeScript
Raw Normal View History

import { createClient } from '@sanity/client';
const client = createClient({
projectId: 'tzamgyrm',
dataset: 'production',
apiVersion: '2023-02-08',
useCdn: false,
token: import.meta.env.PUBLIC_SANITY_TOKEN,
});
export default client;