Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
fix: support POST-only HTTP API
Browse files Browse the repository at this point in the history
ipfs/kubo#7097 will block `GET` commands on
API port, switching everything to POST.

This breaks Files screen in ipfs-webui as noted in
ipfs/ipfs-webui#1429

ipfs-webui is using older version of js-ipfs-http-client, one before
huge refactor into async iterables, which means switching to the latest
version won't be a trivial task.

For now, we just apply simple patch on top of ipfs-http-client v39.0.2
to ensure it sends commands as POST.

Proper fix will land when ipfs-webui is refactored to work with
ipfs-http-client >41.x

Closes #1429
  • Loading branch information
lidel committed Apr 4, 2020
1 parent a3da1de commit 3e4162d
Show file tree
Hide file tree
Showing 3 changed files with 287 additions and 317 deletions.
Loading

0 comments on commit 3e4162d

Please sign in to comment.