mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04: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…
x
Reference in New Issue
Block a user