mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-01 09:02:50 +08:00
reverseproxy: Export ipVersions type (#5648)
allows AUpstreams to be instantiated externally
This commit is contained in:
@ -1449,7 +1449,7 @@ func (u *AUpstreams) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
|
||||
}
|
||||
|
||||
if u.Versions == nil {
|
||||
u.Versions = &ipVersions{}
|
||||
u.Versions = &IPVersions{}
|
||||
}
|
||||
|
||||
trueBool := true
|
||||
|
Reference in New Issue
Block a user