SIDAC/node_modules/@supabase/ssr/dist/module/utils/constants.js

9 lines
338 B
JavaScript

export const DEFAULT_COOKIE_OPTIONS = {
path: "/",
sameSite: "lax",
httpOnly: false,
// https://developer.chrome.com/blog/cookie-max-age-expires
// https://httpwg.org/http-extensions/draft-ietf-httpbis-rfc6265bis.html#name-cookie-lifetime-limits
maxAge: 400 * 24 * 60 * 60,
};
//# sourceMappingURL=constants.js.map