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

Merged
ramilexe merged 1 commits from vhost into master 2020-09-11 11:34:34 +00:00

View File

@ -88,7 +88,7 @@ func startServers(server s.Server, settings *s.Config) error {
return err return err
} }
logWithCommand.Info("starting up HTTP server") 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 return err
} }