From b57688a19d37b0b6fc7f6c0932f8d1cf77ca45ad Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Tue, 7 Jun 2016 09:49:55 -0600 Subject: [PATCH] fix typo --- Writing-a-Plugin:-HTTP-Middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Writing-a-Plugin:-HTTP-Middleware.md b/Writing-a-Plugin:-HTTP-Middleware.md index a071106..82f3338 100644 --- a/Writing-a-Plugin:-HTTP-Middleware.md +++ b/Writing-a-Plugin:-HTTP-Middleware.md @@ -59,7 +59,7 @@ func setup(c *caddy.Controller) error { } ``` -To chain in your new handler, get the config for the current site from the httpserver package. Then wrap your in a middleware function: +To chain in your new handler, get the config for the current site from the httpserver package. Then wrap your handler in a middleware function: ```go cfg := httpserver.GetConfig(c.Key)