template setup 🚀

This commit is contained in:
2025-07-24 01:20:02 +02:00
commit 1b71b472a7
81 changed files with 9586 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { client } from "@/sanity/client";
import { sanityConnection } from "@repo/sanity-connection";
import { defineEnableDraftMode } from "next-sanity/draft-mode";
export const { GET } = defineEnableDraftMode({
client: client.withConfig({
token: sanityConnection.publicViewerToken,
}),
});