fix: remove default rules (#455)
parent
8e864bfc93
commit
ec2e8d1f54
|
@ -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 := "/"
|
||||||
|
|
Loading…
Reference in New Issue