update to caddy 0.9.2

pull/144/head
Henrique Dias 2016-06-22 21:30:40 +01:00
parent 7493a2d3f9
commit b56cd22f72
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func setup(c *caddy.Controller) error {
return err
}
httpserver.GetConfig(c.Key).AddMiddleware(func(next httpserver.Handler) httpserver.Handler {
httpserver.GetConfig(c).AddMiddleware(func(next httpserver.Handler) httpserver.Handler {
return FileManager{Configs: configs, Next: next}
})