add * to vhost to allow connecting to server in docker-compose

This commit is contained in:
ramil 2020-09-11 14:21:43 +03:00
parent b5fc0e7c44
commit 4e063171a9

View File

@ -88,7 +88,7 @@ func startServers(server s.Server, settings *s.Config) error {
return err
}
logWithCommand.Info("starting up HTTP server")
_, _, err = rpc.StartHTTPEndpoint(settings.HTTPEndpoint, server.APIs(), []string{"eth"}, nil, nil, rpc.HTTPTimeouts{})
_, _, err = rpc.StartHTTPEndpoint(settings.HTTPEndpoint, server.APIs(), []string{"eth"}, nil, []string{"*"}, rpc.HTTPTimeouts{})
return err
}