Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: download directories outside of MFS #1833

Merged
merged 2 commits into from
Aug 17, 2021
Merged

fix: download directories outside of MFS #1833

merged 2 commits into from
Aug 17, 2021

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Aug 14, 2021

Fixes #1829.

I went with a simpler approach than #1814 (comment) (suggested fix) because the API is POST-only, so creating a link and then "opening" it would have returned a 405 error.

When ipfs/kubo#8234 is merged, #1814 can be addressed. In the meanwhile, #1829 is easily fixed.

The failing tests are the same as in the main branch.

License: MIT
Signed-off-by: Henrique Dias hacdias@gmail.com

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
@hacdias hacdias temporarily deployed to Deploy August 14, 2021 07:10 Inactive
@hacdias hacdias requested a review from lidel August 14, 2021 07:14
@hacdias hacdias marked this pull request as ready for review August 14, 2021 07:14
@hacdias hacdias requested review from rafaelramalho19 and removed request for rafaelramalho19 August 14, 2021 08:21
src/lib/files.js Outdated Show resolved Hide resolved
@hacdias hacdias temporarily deployed to Deploy August 17, 2021 14:32 Inactive
@hacdias hacdias merged commit 6d5bd6d into main Aug 17, 2021
@hacdias hacdias deleted the fix/1829 branch August 17, 2021 14:57
@lidel
Copy link
Member

lidel commented Aug 17, 2021

lgtm, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Downloading a file does not work (empty queue)
3 participants