Skip to content

Commit f4f7b2d

Browse files
author
Alex Patterson
committed
debug environment
1 parent 168fc1a commit f4f7b2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sanity/lib/fetch.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { draftMode } from "next/headers";
33

44
import { client } from "@/sanity/lib/client";
55
import { token } from "@/sanity/lib/token";
6-
6+
console.debug('env', process.env.VERCEL_ENV)
77
/**
88
* Used to fetch data in Server Components, it has built in support for handling Draft Mode and perspectives.
99
* When using the "published" perspective then time-based revalidation is used, set to match the time-to-live on Sanity's API CDN (60 seconds)

0 commit comments

Comments
 (0)