Skip to content

Commit

Permalink
Update ipfs gateway (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjb0807 authored Jan 16, 2025
1 parent 0d63bc3 commit 4d31438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/runtime_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl Display for RuntimeInfo {
"🗳️ ", "authorizeUpgrade hash:", self.parachain_authorize_upgrade_hash
)?;
writeln!(fmt, "{:<width_emoji$} {:<width_title$} {}", "🗳️ ", "Blake2-256 hash:", self.blake2_256)?;
let ipfs_url = format!("https://www.ipfs.io/ipfs/{cid}", cid = self.ipfs_hash);
let ipfs_url = format!("https://cf-ipfs.com/ipfs/{cid}", cid = self.ipfs_hash);
writeln!(fmt, "{:<width_emoji$} {:<width_title$} {ipfs_url}", "📦", "IPFS:")?;
Ok(())
}
Expand Down

0 comments on commit 4d31438

Please sign in to comment.