Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set UI default listen address to localhost #1476

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func DefaultBoost() *Boost {
},

Graphql: GraphqlConfig{
ListenAddress: "0.0.0.0",
ListenAddress: "127.0.0.1",
Port: 8080,
},

Expand Down
2 changes: 1 addition & 1 deletion node/config/doc_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type WalletsConfig struct {
}

type GraphqlConfig struct {
// The ip address the GraphQL server will bind to. Default: 0.0.0.0
// The ip address the GraphQL server will bind to. Default: 127.0.0.1
ListenAddress string
// The port that the graphql server listens on
Port uint64
Expand Down