diff --git a/common/src/warp_runner/mod.rs b/common/src/warp_runner/mod.rs index 3eb9fd82f6c..85519f2c152 100644 --- a/common/src/warp_runner/mod.rs +++ b/common/src/warp_runner/mod.rs @@ -351,9 +351,22 @@ impl From<&DiscoveryMode> for Discovery { }, }, DiscoveryMode::Shuttle => { - let addresses = Vec::from_iter(["/ip4/104.236.194.35/tcp/34053/p2p/12D3KooWJSes8386p2T1sMeZ2DzsNJThKkZWbj4US6uPMpEgBTHu" - .parse() - .expect("valid addr")]); + let env_addrs = std::env::var("SHUTTLE_ADDR_POINT") + .map(|val| { + val.split(',') + .filter_map(|addr_str| addr_str.parse::<_>().ok()) + .collect::>() + }) + .unwrap_or_default(); + + let addresses = match env_addrs.is_empty() { + true => Vec::from_iter(["/ip4/104.236.194.35/tcp/34053/p2p/12D3KooWJSes8386p2T1sMeZ2DzsNJThKkZWbj4US6uPMpEgBTHu" + .parse() + .expect("valid addr")]), + false => env_addrs + }; + + log::debug!("shuttle addresses: {:?}", addresses); Discovery::Shuttle { addresses } } diff --git a/icons/src/icons/outline/document-audio.svg b/icons/src/icons/outline/document-audio.svg new file mode 100644 index 00000000000..4aff18d4df4 --- /dev/null +++ b/icons/src/icons/outline/document-audio.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file