Skip to content

Commit

Permalink
Revert "Adds note about custom server requirements (#39931)"
Browse files Browse the repository at this point in the history
This reverts commit a9772b1.
  • Loading branch information
leerob committed Aug 26, 2022
1 parent a037c08 commit a5ece3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/advanced-features/middleware.md
Expand Up @@ -21,8 +21,6 @@ Middleware runs _before_ cached content, so you can personalize static files and

> **Note:** If you were using Middleware prior to `12.2`, please see the [upgrade guide](https://nextjs.org/docs/messages/middleware-upgrade-guide).
> **Note:** If you are using a [custom server](https://nextjs.org/docs/advanced-features/custom-server) you must provide `hostname` and `port` when calling `next` i.e `next({ hostname: 'localhost', port: 3000 })`.
## Using Middleware

To begin using Middleware, follow the steps below:
Expand Down

0 comments on commit a5ece3f

Please sign in to comment.