mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 11:42:57 +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
|
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…
x
Reference in New Issue
Block a user