fix default view mode on caddy plugins

pull/329/head
Henrique Dias 2017-12-29 08:55:03 +00:00
parent dc1f51cfa9
commit 258557fb57
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func Parse(c *caddy.Controller, plugin string) ([]*filemanager.FileManager, erro
AllowPublish: true, AllowPublish: true,
Commands: []string{"git", "svn", "hg"}, Commands: []string{"git", "svn", "hg"},
CSS: "", CSS: "",
ViewMode: "mosaic",
Rules: []*filemanager.Rule{{ Rules: []*filemanager.Rule{{
Regex: true, Regex: true,
Allow: false, Allow: false,