feat: add Go migration compatibility foundation
This commit is contained in:
1 parent
7de3300034
commit
716a8031b1
27 files changed
+2582
No files matched your search
@@ -13,6 +13,9 @@ export function setSessionCookieValue(
|
||||
expires: Date
|
||||
) {
|
||||
const chunks = chunkCookieValue(value);
|
||||
if (chunks.length > MAX_SESSION_COOKIE_CHUNKS) {
|
||||
throw new RangeError("Session cookie exceeds maximum supported size");
|
||||
}
|
||||
const options = {
|
||||
httpOnly: true,
|
||||
sameSite: "lax" as const,
|
||||
|
||||
Reference in new issue
Block a user