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:
parent
eb72c5d959
commit
d9d6fb656a
|
@ -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