Skip to content

LIVE_PREVIEW_COOKIE_MAX_AGE_SECONDS

const LIVE_PREVIEW_COOKIE_MAX_AGE_SECONDS: number

Defined in: packages/core/src/livePreview/constants.ts:37

Lifetime of LIVE_PREVIEW_COOKIE. One hour: long enough for an editing session, short enough that a shared preview link stops granting preview mode soon after.