From a919db8a79ee6e5e4d26e11b33b8a99b8cadcec9 Mon Sep 17 00:00:00 2001 From: Jon Cox Date: Sun, 12 Feb 2017 21:45:32 +0000 Subject: [PATCH] Middleware guide - Typo fix. --- guide/middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/middleware.md b/guide/middleware.md index b45d6fbd..9da7c79d 100644 --- a/guide/middleware.md +++ b/guide/middleware.md @@ -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.