Hopefully fix #159

This commit is contained in:
Henrique Dias 2017-07-27 12:32:10 +01:00
parent ef315082ed
commit fbd0cf0c14
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730

View File

@ -52,7 +52,7 @@ func parse(c *caddy.Controller) ([]*filemanager.FileManager, error) {
// Get the baseURL and baseScope
args := c.RemainingArgs()
if len(args) == 1 {
if len(args) >= 1 {
directory = args[0]
}