- Clone this repo (created using
npx create-next-app
) - Run
npm run dev
- You should see "middleware" in the console and
xxx-header
added to the response - Stop the server
- Run
netlify dev
- "middleware" is not logged to the console and
xxx-header
is not added to the response - Stop the Netlify dev server
- Run
npm run dev
again - Still no "middleware" in the console and
xxx-header
is not added to the response - Run
rm -rf node_modules
- Run
npm install
- Run
npm run dev
- Should see "middleware" in the console again and
xxx-header
added to the response
-
Notifications
You must be signed in to change notification settings - Fork 0
anthonyholmes/next-netlify-middleware-bug
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published