Update middleware prefetch handling (#45772)
When doing external rewrites with middleware we shouldn't bail for the prefetch case as this is valid and the bailing can occur on the destination application. x-ref: [slack thread](https://vercel.slack.com/archives/C01RGMANU9Y/p1675754630039439) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
Showing
Please
register
or
sign in
to comment