From 95544bfed5b64b7daa3e036ac7c9e30637961dda 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 Former-commit-id: 41e6e855b611449829b4aaab2381685da8b94bb0 [formerly cfcd8802666a8869a2e2f8229d86fee05e088d4e] [formerly 72b0f44e1bf1ab0b27cf327cfac6977049e2dacf [formerly 258557fb57119782530058bc9ac89e3c1175f01a]] Former-commit-id: e17e5ed75665cd53ec8a20b2833268de5ffa5e47 [formerly 5b8571fd62e0517f1daa72fbb95d7c99ba120c6b] Former-commit-id: 39ebfa5155c60f71e9f565de875594c3b07b8bac --- 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,