diff --git a/ceramic-config/src/lib.rs b/ceramic-config/src/lib.rs index 5132a9e..6b56b33 100644 --- a/ceramic-config/src/lib.rs +++ b/ceramic-config/src/lib.rs @@ -16,7 +16,7 @@ pub struct IpfsRemote { impl Default for IpfsRemote { fn default() -> Self { Self { - host: "/ipfs".to_string(), + host: "http://localhost:5101".to_string(), } } } @@ -38,7 +38,7 @@ impl std::fmt::Display for Ipfs { impl Default for Ipfs { fn default() -> Self { - Self::Bundled + Self::Remote(IpfsRemote::default()) } } diff --git a/cli/src/prompt/ceramic_advanced_config.rs b/cli/src/prompt/ceramic_advanced_config.rs index 294eb74..5446e19 100644 --- a/cli/src/prompt/ceramic_advanced_config.rs +++ b/cli/src/prompt/ceramic_advanced_config.rs @@ -47,8 +47,8 @@ pub async fn prompt( pub fn configure_ipfs(cfg: &mut Config) -> anyhow::Result<()> { let ans = Select::new( - "Bundled or Remote IPFS (default=Bundled)", - vec![Ipfs::Bundled, Ipfs::Remote(IpfsRemote::default())], + "Bundled or Remote IPFS (default=Remote)", + vec![Ipfs::Remote(IpfsRemote::default()), Ipfs::Bundled], ) .prompt()?;