Skip to content

Commit

Permalink
feat: default swarm port
Browse files Browse the repository at this point in the history
CERAMIC_ONE_SWARM_ADDRESSES default_values port 4001
  • Loading branch information
AaronGoldman committed Nov 1, 2023
1 parent c1abe00 commit 1318edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct DaemonOpts {
/// Listen address of the p2p swarm.
#[arg(
long,
default_values_t = vec!["/ip4/0.0.0.0/tcp/0".to_string(), "/ip4/0.0.0.0/udp/0/quic-v1".to_string()],
default_values_t = vec!["/ip4/0.0.0.0/tcp/4001".to_string(), "/ip4/0.0.0.0/udp/4001/quic-v1".to_string()],
use_value_delimiter = true,
value_delimiter = ',',
env = "CERAMIC_ONE_SWARM_ADDRESSES"
Expand Down

0 comments on commit 1318edd

Please sign in to comment.