Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Feb 19, 2024
1 parent ea4f80f commit 86d4143
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33096,6 +33096,9 @@ function httpRedirectFetch (fetchParams, response) {
// https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name
request.headersList.delete('authorization')

// https://fetch.spec.whatwg.org/#authentication-entries
request.headersList.delete('proxy-authorization', true)

// "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement.
request.headersList.delete('cookie')
request.headersList.delete('host')
Expand Down Expand Up @@ -98081,7 +98084,7 @@ const index_main = async () => {

const cid = await web3Storage.uploadFile((await filesFromPaths([path]))[0])
console.log(`Uploaded as ${cid}`)
core.setOutput('cid', cid)
core.setOutput('cid', cid.toString())
}

index_main().catch(err => core.setFailed(err.message))
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "web3-storage-upload-file-action",
"private": true,
"type": "module",
"version": "0.0.0",
"version": "0.0.1",
"license": "(Apache-2.0 AND MIT)",
"description": "Upload a file to web3.storage",
"repository": "filecoin-station/web3-storage-upload-file-action",
Expand Down

0 comments on commit 86d4143

Please sign in to comment.