Ensure middleware layer is applied for node (#76293)
This ensures we apply the middleware layer when in the node runtime so that `server-only` imports are properly handled. Also ensures our test suite includes this condition for `edge` and `node` runtimes. Fixes: https://github.com/vercel/next.js/issues/75904
Showing
Please
register
or
sign in
to comment