Skip to content

Commit

Permalink
log ipfs url after pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
kyzia551 committed Aug 31, 2021
1 parent 299a509 commit dffcdf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const cleanupAndPin = require('./helpers/pinata');

async function pinAndPublish() {
const hash = await cleanupAndPin();
console.log('Pinning was done successfully', hash);
console.log(`Pinning was done successfully: https://cloudflare-ipfs.com/ipfs/${hash}`);

const domain = process.env.CF_DEPLOYMENT_DOMAIN;
if (domain) {
Expand Down

0 comments on commit dffcdf8

Please sign in to comment.