mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
node: fix vhosts for adminAPI (#32488)
This commit is contained in:
parent
276ed4848c
commit
f62eec955d
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ func (api *adminAPI) StartHTTP(host *string, port *int, cors *string, apis *stri
|
|||
}
|
||||
if vhosts != nil {
|
||||
config.Vhosts = nil
|
||||
for _, vhost := range strings.Split(*host, ",") {
|
||||
for _, vhost := range strings.Split(*vhosts, ",") {
|
||||
config.Vhosts = append(config.Vhosts, strings.TrimSpace(vhost))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue