You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/middlewares.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Nest middleware are, by default, equivalent to [express](https://expressjs.com/e
20
20
21
21
You implement custom Nest middleware in either a function, or in a class with an `@Injectable()` decorator. The class should implement the `NestMiddleware` interface, while the function does not have any special requirements. Let's start by implementing a simple middleware feature using the class method.
22
22
23
-
> warning **Warning**`Express` and `fastify`treat middleware differently and have different syntaxes for middleware, for more information read [here](https://docs.nestjs.com/techniques/performance#middleware).
23
+
> warning **Warning**`Express` and `fastify`handle middleware differently and have different syntaxes for middleware, for more information read [here](https://docs.nestjs.com/techniques/performance#middleware).
0 commit comments