From 258557fb57119782530058bc9ac89e3c1175f01a Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Fri, 29 Dec 2017 08:55:03 +0000 Subject: [PATCH] fix default view mode on caddy plugins --- caddy/parser/parser.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddy/parser/parser.go b/caddy/parser/parser.go index aa295c28..ab8de961 100644 --- a/caddy/parser/parser.go +++ b/caddy/parser/parser.go @@ -37,6 +37,7 @@ func Parse(c *caddy.Controller, plugin string) ([]*filemanager.FileManager, erro AllowPublish: true, Commands: []string{"git", "svn", "hg"}, CSS: "", + ViewMode: "mosaic", Rules: []*filemanager.Rule{{ Regex: true, Allow: false,