1
Fork 0
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:
Henrique Dias 2015-09-17 20:37:49 +01:00
parent 30b19190dc
commit 4c642e9d3c

View file

@ -17,8 +17,9 @@ func Browse(c *Controller) (middleware.Middleware, error) {
}
browse := browse.Browse{
Root: c.Root,
Configs: configs,
Root: c.Root,
Configs: configs,
IgnoreIndexes: false,
}
return func(next middleware.Handler) middleware.Handler {