Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nextjs): Warn about misplaced middleware file when using auth or …
…getAuth For NextJS 13 application, if the `/src` directory is used then the middleware file needs to be nested under it, otherwise the middleware will not run. This is a very common user error - this commit updates the error message to list moving middleware under /src as a potential fix.
- Loading branch information