diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-18 15:36:08 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-18 15:36:08 +0100 |
| commit | fd6c3380f628c4de4e313c53152366a4484feeca (patch) | |
| tree | e458bec875b6c60e88bd909152059a4d89c498e6 /dist/sanity-client.js | |
| parent | 69d345b334c7a3fecdb0cd5f440fabd83a755309 (diff) | |
| download | auroraklinikken.no-fd6c3380f628c4de4e313c53152366a4484feeca.tar.xz auroraklinikken.no-fd6c3380f628c4de4e313c53152366a4484feeca.zip | |
feat: build app not package
Diffstat (limited to 'dist/sanity-client.js')
| -rw-r--r-- | dist/sanity-client.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/sanity-client.js b/dist/sanity-client.js new file mode 100644 index 0000000..4415100 --- /dev/null +++ b/dist/sanity-client.js @@ -0,0 +1,8 @@ +import { env } from "$env/dynamic/private"; +import createSanityClient from "@sanity/client"; +export const sanity = createSanityClient({ + projectId: env.SANITY_STUDIO_API_PROJECT_ID, + dataset: env.SANITY_STUDIO_API_DATASET, + apiVersion: "2022-03-24", + useCdn: true, +}); |
