Capital/sanity/lib/client.ts
2024-02-24 21:56:35 +08:00

11 lines
200 B
TypeScript

import { createClient } from "next-sanity";
import { apiVersion, dataset, projectId, useCdn } from "../env";
export const client = createClient({
apiVersion,
dataset,
projectId,
useCdn,
});