Skip to content

Commit

Permalink
cf-ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Mar 9, 2024
1 parent 761431a commit b577c6d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/.ipfs.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://bafybeibpd4uvczi7nicpzxgi5yr44spprtq4gdgkdgxmy25lk6txjcda3u.ipfs.nftstorage.link/
https://bafybeibpd4uvczi7nicpzxgi5yr44spprtq4gdgkdgxmy25lk6txjcda3u.ipfs.cf-ipfs.com/
2 changes: 1 addition & 1 deletion dist/.website.ipfs.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://bafybeifi4ngeaogeurmmpaw2qqvorruu3agmkutkmkdqxamcdk5gys64hu.ipfs.nftstorage.link/
https://bafybeifi4ngeaogeurmmpaw2qqvorruu3agmkutkmkdqxamcdk5gys64hu.ipfs.cf-ipfs.com/
4 changes: 2 additions & 2 deletions scripts/postbuild2.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ if (fs.existsSync("./dist/apple")) {
for await (const file of importer(source, blockstore, { wrapWithDirectory: true }))
last = file

await writeFile("./dist/.ipfs.md", `https://${last.cid.toString()}.ipfs.nftstorage.link/`)
await writeFile("./dist/.ipfs.md", `https://${last.cid.toString()}.ipfs.cf-ipfs.com/`)
}

{
Expand All @@ -205,5 +205,5 @@ if (fs.existsSync("./dist/apple")) {
for await (const file of importer(source, blockstore, { wrapWithDirectory: true }))
last = file

await writeFile("./dist/.website.ipfs.md", `https://${last.cid.toString()}.ipfs.nftstorage.link/`)
await writeFile("./dist/.website.ipfs.md", `https://${last.cid.toString()}.ipfs.cf-ipfs.com/`)
}
4 changes: 2 additions & 2 deletions scripts/postversion2.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const versionCode = Number(version.replaceAll(".", "")).toString()
if (!result.ok)
throw new Error(result.error.message)

writeFileSync("./dist/.ipfs.md", `https://${result.value.cid}.ipfs.nftstorage.link/`)
writeFileSync("./dist/.ipfs.md", `https://${result.value.cid}.ipfs.cf-ipfs.com/`)
}

{
Expand All @@ -66,5 +66,5 @@ const versionCode = Number(version.replaceAll(".", "")).toString()
if (!result.ok)
throw new Error(result.error.message)

writeFileSync("./dist/.website.ipfs.md", `https://${result.value.cid}.ipfs.nftstorage.link/`)
writeFileSync("./dist/.website.ipfs.md", `https://${result.value.cid}.ipfs.cf-ipfs.com/`)
}

0 comments on commit b577c6d

Please sign in to comment.