mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update to caddy 0.9.2
This commit is contained in:
parent
7493a2d3f9
commit
b56cd22f72
2
setup.go
2
setup.go
@ -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}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user