Skip to content

Commit

Permalink
Merge pull request #28 from ceramicstudio/ceramic-one-update
Browse files Browse the repository at this point in the history
Update the ipfs config for ceramic-one
  • Loading branch information
JustinaPetr authored Sep 5, 2024
2 parents 2c89583 + 4c89550 commit f46193a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ceramic-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
}
}
Expand All @@ -38,7 +38,7 @@ impl std::fmt::Display for Ipfs {

impl Default for Ipfs {
fn default() -> Self {
Self::Bundled
Self::Remote(IpfsRemote::default())
}
}

Expand Down
4 changes: 2 additions & 2 deletions cli/src/prompt/ceramic_advanced_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;

Expand Down

0 comments on commit f46193a

Please sign in to comment.