mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-25 01:09:28 +00:00
Update cors to http
This commit is contained in:
parent
96968b119e
commit
bb6215bce5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue