Fix for #141
parent
4e2b3e131f
commit
07333491ec
|
@ -77,7 +77,7 @@ func parse(c *caddy.Controller) ([]*config, 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 {
|
||||||
baseURL = args[0]
|
baseURL = args[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue