next.js
38e62069 - Fix middleware fallback: false case (#69799)

Commit
1 year ago
Fix middleware fallback: false case (#69799) This ensures we properly set the request meta during our middleware invoke so that the `NoFallbackError` bubbling is handled properly. Without these fields set we bubble the error unexpectedly causing an unexpected 500 instead of a 404. x-ref: https://github.com/vercel/next.js/pull/66987 Closes: https://github.com/vercel/next.js/issues/69428
Author
Parents
Loading