Browse Source
httpcaddyfile: Fix little typo (Next -> NextArg)
master
Matthew Holt
5 years ago
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with
1 additions and
1 deletions
-
caddyconfig/httpcaddyfile/builtins.go
|
|
@ -317,7 +317,7 @@ func parseTLS(h Helper) ([]ConfigValue, error) { |
|
|
|
func parseRoot(h Helper) (caddyhttp.MiddlewareHandler, error) { |
|
|
|
var root string |
|
|
|
for h.Next() { |
|
|
|
if !h.Next() { |
|
|
|
if !h.NextArg() { |
|
|
|
return nil, h.ArgErr() |
|
|
|
} |
|
|
|
root = h.Val() |
|
|
|