AbdulElahGwaith's picture
Upload folder using huggingface_hub
b91e262 verified
import { defineEnableDraftMode } from "next-sanity/draft-mode";
import { client } from "@/sanity/lib/client";
import { token } from "@/sanity/lib/token";
export const { GET } = defineEnableDraftMode({
client: client.withConfig({ token }),
});