update to caddy 0.9.2
parent
7493a2d3f9
commit
b56cd22f72
2
setup.go
2
setup.go
|
@ -24,7 +24,7 @@ func setup(c *caddy.Controller) error {
|
||||||
return err
|
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}
|
return FileManager{Configs: configs, Next: next}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue