mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-19 05:52:45 +08:00
httpcaddyfile: Fix little typo (Next -> NextArg)
This commit is contained in:
parent
6e2fabb2a4
commit
e211491407
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user