mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
e6540472e0
commit
b95923e25c
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ func (api *adminAPI) StartHTTP(host *string, port *int, cors *string, apis *stri
|
|||
}
|
||||
if vhosts != nil {
|
||||
config.Vhosts = nil
|
||||
for vhost := range strings.SplitSeq(*host, ",") {
|
||||
for vhost := range strings.SplitSeq(*vhosts, ",") {
|
||||
config.Vhosts = append(config.Vhosts, strings.TrimSpace(vhost))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue