fix: remove default rules (#455)

Former-commit-id: 61306205aa8bbdbd8248fb2cc1b1f2b8d1c9a47d [formerly 01601ea4acb9479b6b1b8f26acf89bec97876f42] [formerly c619c7135b3aa54367c3a9cb857eb647f6f6657a [formerly ec2e8d1f54]]
Former-commit-id: 51e1335b9720aa2825b55dbedabe5040f2c98e85 [formerly 9bdceac017d39acc8f7fb5abebe23c842c646f48]
Former-commit-id: b003d0e8e6b0410c31d80e60a50ba5fa70232304
This commit is contained in:
Henrique Dias 2018-07-08 08:29:45 +01:00 committed by GitHub
parent eb72c5d959
commit d9d6fb656a
1 changed files with 1 additions and 5 deletions

View File

@ -38,11 +38,7 @@ func Parse(c *caddy.Controller, plugin string) ([]*filebrowser.FileBrowser, erro
Commands: []string{"git", "svn", "hg"},
CSS: "",
ViewMode: "mosaic",
Rules: []*filebrowser.Rule{{
Regex: true,
Allow: false,
Regexp: &filebrowser.Regexp{Raw: "\\/\\..+"},
}},
Rules: []*filebrowser.Rule{},
}
baseURL := "/"