Update cors to http

pull/29056/head
crypto-services 12 months ago
parent 96968b119e
commit bb6215bce5
  1. 2
      cmd/utils/flags.go

@ -1886,7 +1886,7 @@ func RegisterGraphQLService(stack *node.Node, backend ethapi.Backend, filterSyst
// RegisterHealthService adds the Health API to the node.
func RegisterHealthService(stack *node.Node, backend ethapi.Backend, cfg *node.Config) {
err := health.New(stack, backend, cfg.GraphQLCors, cfg.HTTPVirtualHosts)
err := health.New(stack, backend, cfg.HTTPCors, cfg.HTTPVirtualHosts)
if err != nil {
Fatalf("Failed to register the health service: %v", err)
}

Loading…
Cancel
Save