Skip to content

Commit

Permalink
pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Mar 9, 2024
1 parent 2d4cb1f commit 279fb09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ipfs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { walkSync } from "./libs/walkSync.mjs";
for await (const file of importer(source, blockstore, { wrapWithDirectory: true }))
last = file

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

{
Expand All @@ -37,5 +37,5 @@ import { walkSync } from "./libs/walkSync.mjs";
for await (const file of importer(source, blockstore, { wrapWithDirectory: true }))
last = file

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

0 comments on commit 279fb09

Please sign in to comment.