Files
cloudflare__vinext/tests/nextjs-compat
Nathan Nguyen f367f301dc fix(headers): align draft mode cookie attributes with Next.js (#992)
Draft mode cookies currently use SameSite=Lax in production and clear with Max-Age=0. That diverges from Next.js and can prevent production preview flows from receiving the bypass cookie in cross-site contexts.

Centralize draft-mode cookie attributes in the headers shim, use SameSite=None and Secure outside development, and clear the bypass cookie with an expired date. Add focused compatibility coverage for production enable and disable attributes.
2026-04-30 17:13:14 +01:00
..
2026-04-09 09:14:13 +01:00
2026-04-09 09:14:13 +01:00