next-sanity
Version:
Sanity.io toolkit for Next.js
14 lines (13 loc) • 608 B
JavaScript
const cacheTagPrefix = "sanity:";
/** The default API host used by @sanity/client when none is specified. */
const defaultApiHost = "https://api.sanity.io";
/**
* Companion cookie set alongside CHIPS-partitioned draft-mode cookies.
* Presence of this cookie tells later writes (e.g. perspective changes via
* server actions) to keep using the `Partitioned` attribute.
*
* @see https://github.com/sanity-io/sanity/issues/12806
*/
const partitionedCookieName = "sanity-preview-partitioned";
export { defaultApiHost as n, partitionedCookieName as r, cacheTagPrefix as t };
//# sourceMappingURL=constants.js.map