Fix for #141
Former-commit-id: 04c5589be9e4a5ba9decd3dec90caceb1c1e8c1e [formerly beadc6ec26a2e822f63012cfa200244638b6a81c] [formerly aac8ff74a5afc8f2f711c88033224360b98a3202 [formerly 07333491ec
]]
Former-commit-id: 1f183e69bbc221eaa72139df236380fc9128d44b [formerly 97256f1e2f232e6d31e4a176d3b1a85ba4d5532a]
Former-commit-id: 2ccbbbcddb0c1cd646c110cb52df95ad8515bce8
This commit is contained in:
parent
9b9973defc
commit
3ec3d96a67
|
@ -77,7 +77,7 @@ func parse(c *caddy.Controller) ([]*config, error) {
|
|||
// Get the baseURL and baseScope
|
||||
args := c.RemainingArgs()
|
||||
|
||||
if len(args) == 1 {
|
||||
if len(args) >= 1 {
|
||||
baseURL = args[0]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue