mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
browse IgnoreIndexes option
This commit is contained in:
parent
30b19190dc
commit
4c642e9d3c
1 changed files with 3 additions and 2 deletions
|
@ -17,8 +17,9 @@ func Browse(c *Controller) (middleware.Middleware, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
browse := browse.Browse{
|
browse := browse.Browse{
|
||||||
Root: c.Root,
|
Root: c.Root,
|
||||||
Configs: configs,
|
Configs: configs,
|
||||||
|
IgnoreIndexes: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
return func(next middleware.Handler) middleware.Handler {
|
return func(next middleware.Handler) middleware.Handler {
|
||||||
|
|
Loading…
Reference in a new issue