update to caddy 0.9.2

This commit is contained in:
Henrique Dias 2016-06-22 21:30:40 +01:00
parent 7493a2d3f9
commit b56cd22f72

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}
})