Skip to content

Commit d1804dc

Browse files
committed
Merge branch 'node-url-via-env' into 'main'
feat: read chain.node_url from NODE_URL env variable See merge request flarenetwork/ftso/fast-updates!39
2 parents 8a79ab5 + fe74984 commit d1804dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-client/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type LoggerConfig struct {
4141
}
4242

4343
type ChainConfig struct {
44-
NodeURL string `toml:"node_url"`
44+
NodeURL string `toml:"node_url" envconfig:"NODE_URL"`
4545
ChainId int `toml:"chain_id"`
4646
ApiKey string `toml:"api_key" envconfig:"API_KEY"`
4747
}

0 commit comments

Comments
 (0)