mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-01 04:28:37 +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.
|
// RegisterHealthService adds the Health API to the node.
|
||||||
func RegisterHealthService(stack *node.Node, backend ethapi.Backend, cfg *node.Config) {
|
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 {
|
if err != nil {
|
||||||
Fatalf("Failed to register the health service: %v", err)
|
Fatalf("Failed to register the health service: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue