@trashpanda001/helpers
    Preparing search index...

    Type Alias CookieOptions

    Cookie options

    type CookieOptions = {
        domain?: string;
        maxAge?: "session" | number;
        path?: string;
        sameSite?: "" | "Lax" | "None" | "Strict";
    }
    Index

    Properties

    domain?: string

    Explicitly set to apex domain to allow subdomains access (default: no domain set)

    maxAge?: "session" | number

    Max age in seconds or a session cookie (default: 34560000 seconds = 400 days)

    path?: string

    Path (default: "/")

    sameSite?: "" | "Lax" | "None" | "Strict"

    Same site policy (default: "Lax")