From 4e063171a9053ee54443f5a905bcf8a23ddc5755 Mon Sep 17 00:00:00 2001 From: ramil Date: Fri, 11 Sep 2020 14:21:43 +0300 Subject: [PATCH] add * to vhost to allow connecting to server in docker-compose --- cmd/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/serve.go b/cmd/serve.go index caa937fc..03508b65 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -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 } -- 2.45.2