mirror of https://github.com/vapor/docs.git
Middleware guide - Typo fix.
This commit is contained in:
parent
e1cdb941f2
commit
a919db8a79
|
|
@ -136,7 +136,7 @@ Interestingly, this is how `Abort` itself is implemented in Vapor. `AbortMiddlew
|
|||
|
||||
## Configuration
|
||||
|
||||
Appending middleware ot the `drop.middleware` array is the simplest way to add middleware--it will be used every time the application starts.
|
||||
Appending middleware to the `drop.middleware` array is the simplest way to add middleware - it will be used every time the application starts.
|
||||
|
||||
You can also use the [configuration](config.md) files to enabled or disable middleware for more control. This is especially useful if you have middleware that should, for example, run only in production.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue