Consistency and organisation
This commit is contained in:
4 files changed
+115
-110
No files matched your search
@@ -77,7 +77,7 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) {
|
||||
|
||||
caddyConf := httpserver.GetConfig(c)
|
||||
|
||||
m.PrefixURL = strings.TrimSuffix(caddyConf.Addr.Path, "/")
|
||||
m.SetPrefixURL(strings.TrimSuffix(caddyConf.Addr.Path, "/"))
|
||||
m.Commands = []string{"git", "svn", "hg"}
|
||||
m.Rules = append(m.Rules, &filemanager.Rule{
|
||||
Regex: true,
|
||||
|
||||
Reference in new issue
Block a user