Middlware with basePath on next.config.js is not called on client navigation #39428
Closed
1 task done
Labels
bug
Issue was opened via the bug report template.
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
When you have
bathPath
on next.config.js and middleware with matcher, middleware is not called on client navigation.Expected Behavior
middleware is called
Link to reproduction
https://github.com/nkzawa/next.js-middleware-basepath-bug
To Reproduce
next dev
:http://localhost:3000/base
/base/hello
since middleware is not called/base/hello
/base/redirected
since middleware is calledThe text was updated successfully, but these errors were encountered: