fix: remove default rules (#455)

pull/456/head
Henrique Dias 2018-07-08 08:29:45 +01:00 committed by GitHub
parent 8e864bfc93
commit ec2e8d1f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"}, Commands: []string{"git", "svn", "hg"},
CSS: "", CSS: "",
ViewMode: "mosaic", ViewMode: "mosaic",
Rules: []*filebrowser.Rule{{ Rules: []*filebrowser.Rule{},
Regex: true,
Allow: false,
Regexp: &filebrowser.Regexp{Raw: "\\/\\..+"},
}},
} }
baseURL := "/" baseURL := "/"