Skip to content

Commit

Permalink
Merge pull request #12 from aave/fix/dweb-links
Browse files Browse the repository at this point in the history
fix: use dweb for ipfs defaults
  • Loading branch information
alexmance authored Oct 3, 2024
2 parents f142c26 + e7fa80d commit 3566294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ cleanupAndPin().then(async (hash) => {
core.setOutput("hash", hash);
let uri;
if (CID_VERSION == 1) {
uri = `https://${hash}.ipfs.cf-ipfs.com/`;
uri = `https://${hash}.ipfs.dweb.link/`;
} else if (CID_VERSION == 0) {
uri = `https://cloudflare-ipfs.com/ipfs/${hash}/`;
uri = `https://dweb.link/ipfs/${hash}/`;
}
core.setOutput("uri", uri);
const GITHUB_TOKEN = core.getInput("GITHUB_TOKEN");
Expand Down

0 comments on commit 3566294

Please sign in to comment.