Skip to content

Commit

Permalink
Merge pull request #174 from Concordium/lma/fix/node_backend
Browse files Browse the repository at this point in the history
Backend as an env variable
  • Loading branch information
lassemand authored Aug 9, 2024
2 parents 80e84ba + cdf0ca6 commit c227eed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion notification-server/Cargo.lock

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

2 changes: 1 addition & 1 deletion notification-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Concordium AG [email protected]"]
edition = "2021"
name = "notification-server"
version = "0.1.4"
version = "0.1.5"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 2 additions & 1 deletion notification-server/src/bin/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ struct Args {
#[arg(
long = "node",
help = "The endpoint is expected to point to a concordium node grpc v2 API's.",
default_value = "https://grpc.testnet.concordium.com:20000"
default_value = "https://grpc.testnet.concordium.com:20000",
env = "NOTIFICATION_SERVER_BACKEND_NODE"
)]
endpoint: Endpoint,
/// Database connection string.
Expand Down

0 comments on commit c227eed

Please sign in to comment.