mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This ensures we properly relativize URLs in node middleware when deployed and local. Tests weren't catching this previously as none were asserting the raw Location header value due to node-fetch auto-resolving the value. Fixes: https://github.com/vercel/next.js/issues/87950 Closes: NEXT-4826