Hopefully fix #159
This commit is contained in:
parent
ef315082ed
commit
fbd0cf0c14
|
@ -52,7 +52,7 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) {
|
||||||
// Get the baseURL and baseScope
|
// Get the baseURL and baseScope
|
||||||
args := c.RemainingArgs()
|
args := c.RemainingArgs()
|
||||||
|
|
||||||
if len(args) == 1 {
|
if len(args) >= 1 {
|
||||||
directory = args[0]
|
directory = args[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue