This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
addFromFs doesn't include headers that are injected during api initialization #1158
Closed
Description
I'm using js-ipfs-http-client
to add a directory from my local filesystem, however it appears to be ignoring authorization headers that I send via a JWT.
This is th script in question https://github.com/RTradeLtd/directory-upload/blob/master/src/index.ts
This is where I'm setting headers https://github.com/RTradeLtd/directory-upload/blob/master/src/index.ts#L49