Update middleware.md

This commit is contained in:
Tanner 2017-02-13 09:20:50 +01:00 committed by GitHub
parent 61a3129907
commit 2c5258cedc
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ Interestingly, this is how `Abort` itself is implemented in Vapor. `AbortMiddlew
## Configuration
Appending middleware to 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.