Skip to content

Commit

Permalink
pin-file-to-ipfs: update ipfs url
Browse files Browse the repository at this point in the history
  • Loading branch information
passandscore committed May 20, 2023
1 parent 175484f commit 5c45778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pin-file-to-ipfs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Print the results
if let Ok(pinned_object) = result {
let hash = pinned_object.ipfs_hash;
let link = format!("https://ipfs.io/ipfs/{}", hash);
let link = format!("https://gateway.pinata.cloud/ipfs/{}", hash);

println!();
println!("{}", "-".repeat(80).green());
Expand Down

0 comments on commit 5c45778

Please sign in to comment.