Skip to content

Commit

Permalink
Merge branch 'canary' into add/next-server-port
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Nov 28, 2021
2 parents 1f12e62 + c10a841 commit 13afd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Middleware can be used for anything that shares logic for a set of pages, includ

## Execution Order

If your Middleware is created in `/pages/_middleware.js`, it will run on all routes within the `/pages` directory. The below example assumes you have `about.tsx` and `teams.tsx` routes.
If your Middleware is created in `/pages/_middleware.ts`, it will run on all routes within the `/pages` directory. The below example assumes you have `about.tsx` and `teams.tsx` routes.

```bash
- package.json
Expand Down

0 comments on commit 13afd22

Please sign in to comment.