Skip to content

Commit

Permalink
fix fetch-schema script on macos (#1631)
Browse files Browse the repository at this point in the history
localhost on macos could be considered as IPv6 adress. It led to
following issue: "reason: connect ECONNREFUSED ::1:8081". Let's
replace it to 127.0.0.1 (that is IPv4 as expected) to solve an
issue.

Closes #1628
  • Loading branch information
olegrok authored Dec 15, 2021
1 parent 28cacde commit be03852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .graphqlconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ projects:
schemaPath: schema.graphql
extensions:
endpoints:
default: 'http://localhost:8081/admin/api'
default: 'http://127.0.0.1:8081/admin/api'
2 changes: 1 addition & 1 deletion doc/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# source: http://localhost:8081/admin/api
# source: http://127.0.0.1:8081/admin/api
# timestamp: Mon Oct 04 2021 17:36:12 GMT+0300 (Moscow Standard Time)

"""Cluster management"""
Expand Down

0 comments on commit be03852

Please sign in to comment.