Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Oct 23, 2024
1 parent 47aa0eb commit 6713743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version.after.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ config({ path: dirname(new URL(import.meta.url).pathname) + "/.env.local" })
for (const filePath of walkSync("./dist/website"))
body.append("file", await openAsBlob(filePath), path.relative("./dist/website", filePath))

const headers = new Headers({ "Authorization": `Basic ${process.env.IPFS_SECRET}` })
const headers = new Headers({ "Authorization": `Bearer ${process.env.IPFS_SECRET}` })
const response = await fetch(`https://ipfs0.hazae41.me:5001/api/v0/add?wrap-with-directory=true&cid-version=1`, { method: "POST", headers, body })

if (!response.ok)
Expand Down

0 comments on commit 6713743

Please sign in to comment.