## Bug fixes #37106 Please note that, as for `pages/` the `src/middleware` file is ignored when `/middleware` is present. ## How to test 1. Rebuild next.js `pnpm build` 2. Run dedicated tests: `pnpm testheadless --testPathPattern middleware-src/`