Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move _middleware.js to <root>/middleware.js in examples #19

Merged
merged 2 commits into from Jul 5, 2022

Conversation

schehata
Copy link
Collaborator

@schehata schehata commented Jul 4, 2022

Vercel has changed the way it handles middleware and now it
has to be in the root folder:
https://nextjs.org/docs/messages/nested-middleware

Vercel has changed the way it handles middleware and now it
has to be in the root folder:
https://nextjs.org/docs/messages/nested-middleware
@schehata schehata requested a review from bahlo July 4, 2022 14:37
@vercel
Copy link

vercel bot commented Jul 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
next-axiom-example ✅ Ready (Inspect) Visit Preview Jul 5, 2022 at 10:53AM (UTC)

@bahlo
Copy link
Member

bahlo commented Jul 4, 2022

Does this need a next upgrade?

@schehata
Copy link
Collaborator Author

schehata commented Jul 5, 2022

Does this need a next upgrade?

I pushed a commit to update next version, for the main package as well.

package.json Outdated Show resolved Hide resolved
@bahlo bahlo merged commit f5be9ad into main Jul 5, 2022
@bahlo bahlo deleted the islam/dx-122-move-_middlewarejs-to-rootmiddlewarejs branch July 5, 2022 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants