Sanity Library Reference Docs
    Preparing search index...

    Interface DefineEnableDraftModeOptions

    interface DefineEnableDraftModeOptions {
        client: SanityClient;
        secureDevMode?: boolean;
    }
    Index

    Properties

    client: SanityClient
    secureDevMode?: boolean

    Force secure cookies in development mode. Enable this when using Next.js --experimental-https flag. This option has no effect in production (cookies are always secure).

    false